Edit Your Comment
date filter in scraping webpage with python
Členem od Aug 09, 2023
1 příspěvků
Sep 10, 2023 at 06:50
Členem od Aug 09, 2023
1 příspěvků
Hi every one
How can I customize date filter in python request ( in headers , cookies , links or etc ) ?
my code is :
url='https://www.myfxbook.com/forex-economic-calendar'
response=requests.get(url,cookies={'timezone':'3','locale':'en','loggedOffCalendar':'{\"importances\":[3,2,1], \"countries\":[\"United States\",\"France\",\"Germany\",\"Spain\"], \"currencies\":[\"EUR\",\"USD\"]}'},timeout=10)
I didn't find any section in the headers in inspect and network of webpage to customize the date except this link :
'https://www.myfxbook.com/calendarEmailMinAlert.xml?min=&start=2023-04-07&end=2023-05-29&show=show&type=cal&bubble=true&calPeriod=-1&tabType=0'
But this link returns the 404 not found page ( you can try it ) .
Is there any idea to solve this problem ?
How can I customize date filter in python request ( in headers , cookies , links or etc ) ?
my code is :
url='https://www.myfxbook.com/forex-economic-calendar'
response=requests.get(url,cookies={'timezone':'3','locale':'en','loggedOffCalendar':'{\"importances\":[3,2,1], \"countries\":[\"United States\",\"France\",\"Germany\",\"Spain\"], \"currencies\":[\"EUR\",\"USD\"]}'},timeout=10)
I didn't find any section in the headers in inspect and network of webpage to customize the date except this link :
'https://www.myfxbook.com/calendarEmailMinAlert.xml?min=&start=2023-04-07&end=2023-05-29&show=show&type=cal&bubble=true&calPeriod=-1&tabType=0'
But this link returns the 404 not found page ( you can try it ) .
Is there any idea to solve this problem ?

*Komerční použití a spam nebudou tolerovány a mohou vést ke zrušení účtu.
Tip: Zveřejněním adresy URL obrázku /služby YouTube se automaticky vloží do vašeho příspěvku!
Tip: Zadejte znak @, abyste automaticky vyplnili jméno uživatele, který se účastní této diskuse.