-4

I want to scrape live stream from one website and show it to my website. Suppose, example.com is site to from where i want to scrape live stream. example.com have following security mechanism.

Example.com use websocket connection for transfer binary data of live stream.

I login to website there is number of games like Cricket , footbal,hockey,chess etc etc.

This all games have live stream in bulit so when you click on one game suppose cricket example.com generate security token and it's expairytimestamp.securtiy timestamp expires after 24 hours so you should renew it. (Following idea is for one game but i want all game(suggest me ideas)) I have idea to use python selenium-wire i make a script that first logins then click on game then after successfully open live stream i starts intercept reponse from webserver and simply sent it to my server. But here problem is token expires after 24 hours i didn't get idea of it. 2.idea Connect to live stream websocket server but again problem is token expires after 24 hours how to renew it? And i also don't know how to get all games stream should i make separate script for game then i need separate account also.

User 111
  • 1
  • 2

0 Answers0