dkrizan / sweet-playlist-server

Simple webserver fetching m3u8 playlist of Sweet.tv IPTV provider.
0 stars 0 forks source link

Please. help use this script #1

Open pepev82 opened 11 months ago

pepev82 commented 11 months ago

Hello everybody, I'm a total beginer, but i wish to use this script. OS: Windows 10 Python ver: 3.11.5 I filled up email and password, but i don't know how to carry on ? :((( When i run, got an error message: sweet-playlist-server-main\main.py", line 3, in import requests ModuleNotFoundError: No module named 'requests'

What else do I need to fill up and how ?

I also tried : server_url = os.getenv(sweet.tv/hu) and HOST = "127.0.0.0"

and get the data from a Chrome brwoser meanwhile i was loged in on sweet.tv website -> Dev Tools -> Sources tab but too many things are thers so have no more idea how to fill up and get working this script.

Please help me if anybody have few minutes to explain, how to get work this. Can be run in Windows OS? Or do i need linux or raspbian OS to run ?

Thank you very much in advance!

Cheers,

Peter

dkrizan commented 11 months ago

You have to install python module requests.

python -m pip install requests

But to be honest, I am not sure whether this still works, it was just a playground to test their API. I might get into it later and create the README.MD to navigate others how to use this project.