GithubHelp home page GithubHelp logo

interlark / ustvgo-iptv Goto Github PK

View Code? Open in Web Editor NEW
147.0 22.0 43.0 644 KB

USTVGO Free IPTV

Python 99.12% Dockerfile 0.88%
m3u8 playlist-downloader iptv english spanish tvguide ustvgo proxying-requests free-iptv

ustvgo-iptv's People

Contributors

17hoehbr avatar dmitrc avatar interlark avatar karoletrych avatar liniuta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ustvgo-iptv's Issues

Windows GUI Startup

Hello,

I have set the program to run at startup however it would be great if it could be set to automatically "Start" the process at program launch.

Thanks

slow feeds

not sure why but when I stream from ustvgo.tv the streams are instant but if I use this program any device that uses it the streams take forever to load and then they buffer at times or disconnect ive used other streams like plutotv without problems not sure if its because it requires a vpn and the vpn is limiting the speeds or because the feeds are proxied but I find it ridiculous

123tv.live

Hey -- first of all, outstanding project! I have it running on a Pi 4 with Jellyfin...works great!

I was wondering if there'd be any interest in adding support for '123tv.live' as well. Looking at available channels, it looks like you could add the below to replace the USTVGO channels that require their VPN. I can try to help if needed although I'm by no means a coding expert.

ESPN | http://123tv.live/watch/espn-20220618/
HBO | http://123tv.live/watch/hbo-02032021/
Fox Sports 1 | http://123tv.live/watch/fox-sports-1-20220618/
TNT | http://123tv.live/watch/tnt/
VH1 | http://123tv.live/watch/vh1/
NBC Sports Network | http://123tv.live/watch/nbcsn-20201106/
NBA TV | http://123tv.live/watch/nba-tv-04192021/
History Channel | http://123tv.live/watch/history-channel/
USA Network | http://123tv.live/watch/usa-network/
Showtime | http://123tv.live/watch/showtime/
BET | http://123tv.live/watch/bet/
A&E | http://123tv.live/watch/ae/

Again, thanks for the great project!

Конференция

Вы занимаетесь парсингом? Я организую митап. Возможно, Вам есть что рассказать. Хотите выступить?

Ориентировочно 22 апреля планируется Parsing Conf 2. Темы докладов — самые разные. От сбора докладов в интернете до методологий сбора данных "в полях".

Примеры тем докладов:

Парсинг на C#
Библиотека ferret
Как скачать весь интернет
Методология сбора данных с сейсмометров в Пакистане
Разметка данных с помощью Yandex.Толока
Неважно: есть у Вас опыт или нет.

Мероприятие онлайн проходить будет.

https://t.me/parsing_conf
Контакты: @Cuda23

Youtube Tutorial?

is there a youtube tutorial on how to set this up? i am terrible at setting these type of things up and each time i try using the project it wont work

DeprecationWarning: firefox_profile has been deprecated

I tried to install the same script that I had been using successfully on my old PC and am getting a depreciation warning. Is there a fix?

David

david@HP-ENVY:~/ustvgo_downloader$ ./download.py
Downloading the playlist, please wait...
/home/david/ustvgo_downloader/./download.py:109: DeprecationWarning: firefox_profile has been deprecated, please use an Options object
firefox_profile = webdriver.FirefoxProfile()
Traceback (most recent call last):
File "/home/david/ustvgo_downloader/./download.py", line 129, in
with webdriver.Firefox(seleniumwire_options=set_seleniumwire_options, options=ff_options, firefox_profile=firefox_profile) as driver:
File "/home/david/.local/lib/python3.10/site-packages/seleniumwire/webdriver/browser.py", line 46, in init
super().init(*args, **kwargs)
File "/home/david/.local/lib/python3.10/site-packages/selenium/webdriver/firefox/webdriver.py", line 175, in init
self.service.start()
File "/home/david/.local/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 98, in start
self.assert_process_still_running()
File "/home/david/.local/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 110, in assert_process_still_running
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: Service geckodriver unexpectedly exited. Status code was: 64

[Q&A] what's the use of password?

I just came across the project and have doubt's on the password input box in GUI.

I don't understand the use of it and I couldn't able to find a answer for this in the Readme.

@interlark Please let me know why the password section is available in the app or cli and what it is used for and how can I take advantage of this option.

Script updated

Hi don't know if you know. Ben moose updated the script to work without USA VPN.
Also apparently filmon is back working & he's bringing back TVMUCHO.
It'd be great to get filmon & TVMUCHO the interlark treatment 👍🏻🤞🏻

Local Channels

Is there a way that I can insert my local channels well still maintaining ustvgo as it is?

How to play streams on Android

Works great on PC with vlc , is there a way to do the same for Android , I can't play the streams on Android device tried different players but none work.

Playback Error

"This client isn't compatible with the media and the server isn't sending a compatible media format."

Im using Jellyfin and Docker

VPN Extra Channels

I have a VPN installed, do I have to use their VPN to get the extra channels?

Tags for New, Live and Premiere

Is it possible to scrape the info into xml file if a show is New, Live or a Premiere? Looking to record shows if they are new instead of manually recording.

Buffering, and cutting out.

Hi

first of all thank you for developing this amazing app.

I run this on a VPS, which ensures an always on uninterrupted IPTV Service.

I initially had this running on a VPS in Amsterdam, and performance was outstanding, with Zero buffering. My physical location is in Cape Town

There seems to have been changes made on the USTVGo end a few days ago. The Amsterdam VPS ceased to be able to load the m3u playlist, and when I went to USTVGO, I was unable to stream, and noted the following. All channels required the use of the VPN, not just the VIP ones.

As soon as I moved ustvgo-iptv to a VPS located in the USA - USTVGO immediately started operating again.

However USTVGo works flawlessly for a few minutes, then starts buffering, and the stream ultimately terminates.

This has never happened before.

Is the autoauth still working, has something changed?

Please can you have a look.

Thanks

cant play streams

Script is working well, i downloaded streams and updated token. But i cant play streams. VLC says "cant play mrl.." and if i try in browser is says "forbidden". Btw im using windows, i tried in ubuntu and android also but no luck. Any help, or the script is dead? Thanks

USTVGO TVGUIDE

thank you for your work could you also create a python script that would pull the guide data from ustvgo and create a xml file I tried to use webgrabplus but they want to charge monthly and the ustvgo.tv.ini file is encrypted and needs a decrypt code before there script will pull the information I found another xml file online that host most of the channels but not all

Crashes after an hour or so of runtime

I keep getting a crash. Here is the output

15:30:12 :: ERROR :: SSL error in data received
protocol: <asyncio.sslproto.SSLProtocol object at 0x7f1f107ad6d8>
transport: <_SelectorSocketTransport fd=10 read=polling write=<idle, bufsize=0>>
Traceback (most recent call last):
File "/usr/lib/python3.7/asyncio/sslproto.py", line 526, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File "/usr/lib/python3.7/asyncio/sslproto.py", line 207, in feed_ssldata
self._sslobj.unwrap()
File "/usr/lib/python3.7/ssl.py", line 767, in unwrap
return self._sslobj.shutdown()
ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify (_ssl.c:2609)

Invalid Syntax

When running the download.py script on Ubuntu, it returns with this:
File "download.py", line 53
print('[%d/%d] Successfully collected link for %s' % (item_n + 1, len(page_links), channel_list[item_n]), file=sys.stderr)
^
SyntaxError: invalid syntax

Cannot install onto Kubuntu 22.04 using new method.

Good morning,

I had to do a fresh install onto Kubuntu yesterday and when I came on here to re-install ustvgo-iptv I quickly realized whatever I'm doing isn't working.
Here's the output to "pip install ustvgo-iptv"
nostradamus@Megalodon:~$ pip install ustvgo-iptv
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: ustvgo-iptv in ./.local/lib/python3.10/site-packages (0.1.9)
Requirement already satisfied: netifaces>=0.11.0 in /usr/lib/python3/dist-packages (from ustvgo-iptv) (0.11.0)
Requirement already satisfied: tqdm>=4.64.0 in ./.local/lib/python3.10/site-packages (from ustvgo-iptv) (4.64.0)
Requirement already satisfied: furl>=2.1.3 in ./.local/lib/python3.10/site-packages (from ustvgo-iptv) (2.1.3)
Requirement already satisfied: aiohttp>=3.8.1 in ./.local/lib/python3.10/site-packages (from ustvgo-iptv) (3.8.1)
Requirement already satisfied: yarl<2.0,>=1.0 in ./.local/lib/python3.10/site-packages (from aiohttp>=3.8.1->ustvgo-iptv) (1.8.1)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in ./.local/lib/python3.10/site-packages (from aiohttp>=3.8.1->ustvgo-iptv) (2.1.1)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in ./.local/lib/python3.10/site-packages (from aiohttp>=3.8.1->ustvgo-iptv) (4.0.2)
Requirement already satisfied: attrs>=17.3.0 in ./.local/lib/python3.10/site-packages (from aiohttp>=3.8.1->ustvgo-iptv) (22.1.0)
Requirement already satisfied: frozenlist>=1.1.1 in ./.local/lib/python3.10/site-packages (from aiohttp>=3.8.1->ustvgo-iptv) (1.3.1)
Requirement already satisfied: aiosignal>=1.1.2 in ./.local/lib/python3.10/site-packages (from aiohttp>=3.8.1->ustvgo-iptv) (1.2.0)
Requirement already satisfied: multidict<7.0,>=4.5 in ./.local/lib/python3.10/site-packages (from aiohttp>=3.8.1->ustvgo-iptv) (6.0.2)
Requirement already satisfied: orderedmultidict>=1.0.1 in ./.local/lib/python3.10/site-packages (from furl>=2.1.3->ustvgo-iptv) (1.0.1)
Requirement already satisfied: six>=1.8.0 in /usr/lib/python3/dist-packages (from furl>=2.1.3->ustvgo-iptv) (1.16.0)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp>=3.8.1->ustvgo-iptv) (3.3)

Thanks in advance

EDIT: Operator error, I got it working, thx

cli option to start after openvpn service loaded

I spend 3 hours trying to figureo out how to start from CLI as service using sh and systemd only after open vpn loads that way the m3u8 file generated includes all 102 channels. As of now my openvpn loads after so i only get 70 or so m3u8. Any help/guidance would be appricated.

Win GUI - Unhandled Exception in Script

I just started getting this error when running through the Win GUI v0.1.9 a few days ago

Unhandled Exception in Script

Failed to execute script 'main' due to unhandled exception:
Expecting value line 1 column 1 (char 0)

Traceback (most recent call last):
File "main.py", line 14, in
File "main.py", line 10, in main
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 616, in run_until_complete
File "gui\app.py", line 22, in app
File "gui\settings.py", line 25, in load_settings
File "json_init_.py", line 357, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Custom issue

While I'm new to code and such Ill try and explain the issue the best I can.
Im using Mac OS Monterey version 12.3.1
When I play any stream after getting the needed m3u8 urls It loads for 5ish seconds loads a frame of the show then nothing loads.
Ive trouble shooter with different players on different devices at most I can get a show to play 5 seconds.
What I think is causing it is a authentication error of sorts. When looking at the logs it creates a new authenticity key every 5 seconds or so when trying to play something so I think its trying to play then has to get re authenticated and fails.

ERROR: File SyntaxError: invalid syntax

I get error whenever I run download.py using Pythin3

File "download.py", line 38
'http': f 'http://{PROXY}',
^
SyntaxError: invalid syntax

Also I would like to ask, is it necessary to use a proxy to avoid Ban of Ip or it has other purposes ?

HD feeds

No issue. USTVGO has added some HD feeds of ESPN, ABC, CBS, NBC, FOX, HBO, FS1, CW, NFL NETWORK. It would be great if those could be added. Thanks for your consideration.

Kodi related question

Is there any way to use this playlist in Kodi? Ive successfully got the epg loaded in the Kodi addon MTV Guide, but is there a url for the channels/playlist? Or any possibility that a Kodi addon could be made for it? Can a Kodi addon be made to run this playlist url generator?

Deprecation Warnings

There are a few deprecation warnings leading to "Failed to collect link" error
/Users/admin/ustvgo_downloader/download.py:161: DeprecationWarning: find_element_by_css_selector is deprecated. Please use find_element(by=By.CSS_SELECTOR, value=css_selector) instead
/Users/admin/ustvgo_downloader/download.py:109: DeprecationWarning: firefox_profile has been deprecated, please use an Options object

A Few Quality of Life and Performance Suggestions/Requests

It would be nice to have the ability to specify what IP address or interface to listen on instead of having it listen on ALL ip addresses.

Beyond that, because of the spotty nature of USTVGO, a buffer with configurable size would be nice. I'm running this with some other lists through a modified xTeve right now, and while xTeve can do buffering, I'd prefer to do it more within the USTVGO server, as I still get occasional hiccups and frame drops this way.

Thanks for the great tool!

Failed to collect link

I tried this script on Windows and it worked successfully. But when I wanted to run it on ubuntu file server, it keeps giving me 'Retry link' and failed to collect link.
I have Python 3.8.2 version.
I followed the procedure by installing Firefox, GekuDriver and python extensions in the requirements.txt

I noticed that it also failed when I first run it on windows until I visited USTVGO website then the update script worked.

Any idea ?

[UPDATE]
I solved it by installing libavcodec-extra package to get the video codecs in the page.

"We value your privacy" - Agree-Button

I'm using Ubuntu 20 with firefox. When I use firefox "I-dont-care-about-cookies" avoid those boxes.
When I run download.py or update.py with option no headless I still see this privacy box which disturbes process of collecting links or new key.
How do you suppress this dialog box?

Regards
Tom

sysvinit script for non systemd system's

#!/bin/bash 
NAME=ustvgo-iptv
host=$(hostname -s)
start() {
echo "Starting IPTV Services: "
        $NAME > /dev/null 2>&1 &
}

stop() {
echo "Stopping IPTV Services: "
#Find the Process ID for ustvgo-iptv running instance
ps -ef | grep ustvgo-iptv | grep -v grep | awk '{print $2}' | xargs kill
}

restart() {
  stop
  sleep 3
  start
}

case "$1" in
    start)   start ;;
    stop)    stop ;;
    restart) stop; start ;;
    *) echo "usage: $0 start|stop|restart" >&2
       exit 1
       ;;
esac

Can't view any vipStream streams

Just installed this but having an issue with any of the vipStreams (non VPN stream work fine)
I can see that my VPN is working as I can view the streams natively from the USTVGO url.
And I see in the logs that it is pulling the auth key but the streams are not working with a 403 Forbidden msg

Current setup is through a NordVPN Docker service another docker container running a ubuntu-desktop image

Service down?

Does anyone know if the service is down permanently? or is this temporary?

Authentication

an option to allow Authentication on this app would be nice

Cannot start ustvgo-iptv using the Autostart tutorial provided by the script creator.

Good morning everyone,

I've been using this script for a few days now and I'm LOVING it. Unfortunately, there is a huge problem for me because I can't get ustvgp-iptv to start as a service with Kubuntu 22.04; I've looked at the tutorial and gone through it repeatedly only to fail to start every time. Having to manually restart this won't work for me, so, I'm wondering if anyone else is having problems pertaining to Autostarting in Ubuntu. I've gone through the Autostart instruction set over and over again(without any luck), if someone could please help me with this I'd be very grateful.

Thank you for your help and time.

Is it possible

Hello is it possible to have my PC at home with VPN pulling all the streams to that PC but be able to play it from another house?

More a question?

Adding m3u and xmltv ips to Next PVR. Guide and links are present but keep getting the following . . .

08:07:01 | [Retry 1/2] Error occured during handling request: Cannot connect to host h4.ustvgo.la:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)')]
Traceback (most recent call last):
File "aiohttp\connector.py", line 986, in _wrap_create_connection
File "asyncio\base_events.py", line 1089, in create_connection
File "asyncio\base_events.py", line 1119, in _create_connection_transport
File "asyncio\sslproto.py", line 534, in data_received
File "asyncio\sslproto.py", line 188, in feed_ssldata
File "ssl.py", line 975, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "ustvgo_iptv\ustvgo_iptv.py", line 232, in stream_handler
File "aiohttp\client.py", line 1186, in aenter
File "aiohttp\client.py", line 535, in _request
File "aiohttp\connector.py", line 542, in connect
File "aiohttp\connector.py", line 907, in _create_connection
File "aiohttp\connector.py", line 1206, in _create_direct_connection
File "aiohttp\connector.py", line 1175, in _create_direct_connection
File "aiohttp\connector.py", line 988, in _wrap_create_connection
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host h4.ustvgo.la:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)')]

Am I doing anything wrong? How can I go about getting the SSL cert to verify properly?

USTVGO-IPTV Terminates without request

Hi all.

I run USTVGO-IPTV on my VPS, via secure connection, in which only I have access to.

I am facing a strange issue, in which USTVGO-IPTV program terminates without warning, perhaps it could be related to inactivity, When accessing the playlist via Chrome after some time - I am faced with a ERR_CONNECTION_REFUSED on Chrome when I attempted to access the playlist.

I created a new VPS connection, and moved USTV GO to there to see if perhaps I was running too many programs, and issues were arising, but this morning I woke up to exactly the same issue - It had terminated.

I have run --access-logs, and regenerated the playlist, and all is working for the timebeing, but only a matter of time before it terminates again, but will report output when I find something.

Thanks

Reelz and TeenNick not showing

Both channels play fine and don't require VPN on the website. They are not showing for me here in Canada. Tried the script and GUI.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.