Edit Your Comment
date filter in scraping webpage with python
Členom od Aug 09, 2023
1 príspevkov
Sep 10, 2023 at 06:50
Členom od Aug 09, 2023
1 príspevkov
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žitie a spam nebudú tolerované a môžu viesť k zrušeniu účtu.
Tip: Uverejnením adresy URL obrázku /služby YouTube sa automaticky vloží do vášho príspevku!
Tip: Zadajte znak @, aby ste automaticky vyplnili meno používateľa, ktorý sa zúčastňuje tejto diskusie.