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のURLを投稿すると自動的に埋め込まれます!
ヒント:この討論に参加しているユーザー名をオートコンプリートするには、@記号を入力します。