Edit Your Comment
date filter in scraping webpage with python
Sep 10, 2023 at 06:50
會員從Aug 09, 2023開始
1帖子
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 ?

*商業用途和垃圾郵件將不被容忍,並可能導致帳戶終止。
提示:發佈圖片/YouTube網址會自動嵌入到您的帖子中!
提示:鍵入@符號,自動完成參與此討論的用戶名。