use oxylab proxy
This commit is contained in:
@@ -296,9 +296,9 @@ if __name__ == '__main__':
|
|||||||
contact_to_book_list = read_contacts(
|
contact_to_book_list = read_contacts(
|
||||||
# file_name="/Users/rdv/Desktop/contact_list_not_used_contacts.xlsx")
|
# file_name="/Users/rdv/Desktop/contact_list_not_used_contacts.xlsx")
|
||||||
# file_name="/Users/lpan/Desktop/contact_list_not_used_contacts.xlsx")
|
# file_name="/Users/lpan/Desktop/contact_list_not_used_contacts.xlsx")
|
||||||
file_name="/Users/rdv/Desktop/contact_list_2025-10-30.xlsx")
|
# file_name="/Users/rdv/Desktop/contact_list_2025-10-30.xlsx")
|
||||||
# file_name="~/Desktop/contact_list_all.xlsx")
|
# file_name="~/Desktop/contact_list_all.xlsx")
|
||||||
# file_name="~/Desktop/contact_list_2025-09-08.xlsx")
|
file_name="~/Desktop/contact_list_2025-11-06.xlsx")
|
||||||
# file_name="/Users/rdv/Desktop/contact_list_all_studo_gmx_us.xlsx")
|
# file_name="/Users/rdv/Desktop/contact_list_all_studo_gmx_us.xlsx")
|
||||||
# file_name="/Users/rdv/Desktop/contact_list_2025-05-24.xlsx")
|
# file_name="/Users/rdv/Desktop/contact_list_2025-05-24.xlsx")
|
||||||
all_mail_list = MONGO_STORE_MANAGER.get_destination_emails()
|
all_mail_list = MONGO_STORE_MANAGER.get_destination_emails()
|
||||||
|
|||||||
@@ -100,7 +100,8 @@ if __name__ == '__main__':
|
|||||||
# file_list = ['~/Desktop/contact_list_2024-05-23.xlsx',
|
# file_list = ['~/Desktop/contact_list_2024-05-23.xlsx',
|
||||||
# '~/Desktop/contact_list_2024-05-21.xlsx',
|
# '~/Desktop/contact_list_2024-05-21.xlsx',
|
||||||
# '~/Desktop/15_05_to_test.xlsx']
|
# '~/Desktop/15_05_to_test.xlsx']
|
||||||
file_list = ['~/Desktop/contact_list_2025-10-30.xlsx']
|
# file_list = ['~/Desktop/contact_list_2025-10-30.xlsx']
|
||||||
|
file_list = ['~/Desktop/contact_list_2025-11-06.xlsx']
|
||||||
# file_list = ['~/Desktop/contact_list_all.xlsx']
|
# file_list = ['~/Desktop/contact_list_all.xlsx']
|
||||||
# file_list = ['~/Desktop/contact_list_2025-09-08.xlsx']
|
# file_list = ['~/Desktop/contact_list_2025-09-08.xlsx']
|
||||||
# file_list = ['~/Desktop/real_name_contacts_100_aol_17_04.xlsx']
|
# file_list = ['~/Desktop/real_name_contacts_100_aol_17_04.xlsx']
|
||||||
|
|||||||
+4
-4
@@ -6,14 +6,14 @@ from request_sender_test import send_request_for_file_list
|
|||||||
|
|
||||||
|
|
||||||
def start_book_appointment():
|
def start_book_appointment():
|
||||||
file_list = ['~/Desktop/contact_list_2025-09-08.xlsx']
|
file_list = ['~/Desktop/contact_list_2025-10-30.xlsx']
|
||||||
send_request_for_file_list(file_list=file_list, thread_number=20,
|
send_request_for_file_list(file_list=file_list, thread_number=2,
|
||||||
data_queue_name=MORNING_DATA_CACHE, stop_at_hour=18, stop_at_mins=20)
|
data_queue_name=MORNING_DATA_CACHE, stop_at_hour=18, stop_at_mins=20)
|
||||||
|
|
||||||
|
|
||||||
def start_check_results_job(sched):
|
def start_check_results_job(sched):
|
||||||
sched.add_job(start_book_appointment, 'cron', day_of_week='mon-sat', hour='14',
|
sched.add_job(start_book_appointment, 'cron', day_of_week='mon-sat', hour='11',
|
||||||
minute='01',
|
minute='40',
|
||||||
misfire_grace_time=10,
|
misfire_grace_time=10,
|
||||||
second='10', timezone='Europe/Paris', max_instances=1, args=[])
|
second='10', timezone='Europe/Paris', max_instances=1, args=[])
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -7,8 +7,8 @@ from request_sender_test import send_request_for_file_list
|
|||||||
|
|
||||||
def start_book_appointment():
|
def start_book_appointment():
|
||||||
# file_list = ['~/Desktop/contact_list_2025-09-08.xlsx']
|
# file_list = ['~/Desktop/contact_list_2025-09-08.xlsx']
|
||||||
file_list = ['~/Desktop/contact_list_2025-10-30.xlsx']
|
file_list = ['~/Desktop/contact_list_2025-11-06.xlsx']
|
||||||
send_request_for_file_list(file_list=file_list, thread_number=60,
|
send_request_for_file_list(file_list=file_list, thread_number=70,
|
||||||
data_queue_name=MORNING_DATA_CACHE, stop_at_hour=11, stop_at_mins=10)
|
data_queue_name=MORNING_DATA_CACHE, stop_at_hour=11, stop_at_mins=10)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -233,9 +233,8 @@ def validate_all_links(_contact_serial_list):
|
|||||||
# get the first 50 links
|
# get the first 50 links
|
||||||
if len(link_to_validated) == 0:
|
if len(link_to_validated) == 0:
|
||||||
return
|
return
|
||||||
divided = 1
|
|
||||||
# default_segment_number = 20
|
# default_segment_number = 20
|
||||||
_first_25_percent_links = link_to_validated[0:(int(len(all_link_list) / divided))]
|
random.shuffle(all_link_list)
|
||||||
_first_25_percent_links = all_link_list
|
_first_25_percent_links = all_link_list
|
||||||
# _queue_name = "REQUEST_DATA"
|
# _queue_name = "REQUEST_DATA"
|
||||||
_queue_name = MORNING_DATA_CACHE_BAK
|
_queue_name = MORNING_DATA_CACHE_BAK
|
||||||
|
|||||||
Reference in New Issue
Block a user