S1M0N38 / soccerapi

soccerapi, an unambitious soccer odds scraper ⚽️
MIT License
160 stars 36 forks source link

Bet365 X-Net-Sync-Term header #26

Closed gleivas closed 3 years ago

gleivas commented 3 years ago

Hello @S1M0N38, some weeks ago I tested the soccerapi for Bet365 and it worked fine. Today I tried again but the requests made to get the odds had no response resulting in NoOddsError. I looked in my browser how Bet365 does that request and I noticed that in the browser they had a different header called X-Net-Sync-Term, when I added this header hard coded with the same value as my browser(ImoQYA == .8CwDX5TgJEH5wFCEu1sxh4h1RjAoyXeM6gjjlcGuetw =) the api worked again.

Do you know how this header work? I didn't found much about it. I don't know either how long this hard coded header will work.

Thanks a lot for your help, your repository is awesome!

Const24 commented 1 year ago

2023 same question

matheusm821 commented 1 year ago

2023 igualmente