Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Zattoo] Update site web #22258

Open
Europe57 opened this issue Aug 29, 2019 · 11 comments
Open

[Zattoo] Update site web #22258

Europe57 opened this issue Aug 29, 2019 · 11 comments

Comments

@Europe57
Copy link

@Europe57 Europe57 commented Aug 29, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.08.13
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones
NEW ADRESS:
youtube-dl https://zattoo.com/channels\?channel\=rts_un --username **** --password *** -f hls-3002-A-1500 --o "RTS Un - NCIS S16E13.mp4" -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://zattoo.com/channels?channel=rts_un', '--username', 'PRIVATE', '--password', 'PRIVATE', '-f', 'hls-3002-A-1500', '--o', 'RTS Un - NCIS S16E13.mp4', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.08.13
[debug] Python version 3.5.3 (CPython) - Linux-4.19.0-0.bpo.5-amd64-x86_64-with-debian-9.9
[debug] exe versions: ffmpeg 3.2.14-1, ffprobe 3.2.14-1
[debug] Proxy map: {}
[generic] channels?channel=rts_un: Requesting header
WARNING: Falling back on generic information extractor.
[generic] channels?channel=rts_un: Downloading webpage
[generic] channels?channel=rts_un: Extracting information
ERROR: Unsupported URL: https://zattoo.com/channels?channel=rts_un
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/generic.py", line 3333, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://zattoo.com/channels?channel=rts_un

[1]    2458 exit 1     youtube-dl https://zattoo.com/channels\?channel\=rts_un --username  --passwor

OLD ADRESS:

youtube-dl https://zattoo.com/watch/rts_un --username **** --password *** -f hls-3002-A-1500 --o "RTS Un - NCIS S16E13.mp4" -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://zattoo.com/watch/rts_un', '--username', 'PRIVATE', '--password', 'PRIVATE', '-f', 'hls-3002-A-1500', '--o', 'RTS Un - NCIS S16E13.mp4', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.08.13
[debug] Python version 3.5.3 (CPython) - Linux-4.19.0-0.bpo.5-amd64-x86_64-with-debian-9.9
[debug] exe versions: ffmpeg 3.2.14-1, ffprobe 3.2.14-1
[debug] Proxy map: {}
[ZattooLive] Downloading app token
[ZattooLive] Opening session
ERROR: Unable to download webpage: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 2229, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 510, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

[1]    2502 exit 1     youtube-dl https://zattoo.com/watch/rts_un --username ****


Description

New website, with new address to access the channel.
Example for RTS Un, formerly: https://zattoo.com/watch/rts_un
New address: https://zattoo.com/channels?channel=rts_un
The 2 addresses no longer works on Youtube-DL
If need ids to make tests, thank you to contact me in private at the address rectv.forum@gmail.com
Thank.

@goggle
Copy link
Contributor

@goggle goggle commented Sep 1, 2019

I'm the original author of this information extractor. To get all the features working again, I need access to a premium account. If anyone can provide one, let me know. You find my email on my github profile.

@goggle
Copy link
Contributor

@goggle goggle commented Sep 4, 2019

For anyone interested: You find an adoption of the information extractor here: https://github.com/goggle/youtube-dl/tree/zattoo-new-website
It supports live TV, on-demand videos and recorded videos for the new zattoo website. To get the replay feature working, I need access to a premium account. If someone can provide one, let me know. After that I will make a PR to get the changes included into youtube-dl.

@Europe57
Copy link
Author

@Europe57 Europe57 commented Sep 5, 2019

Thank you.

@MrShoenel
Copy link

@MrShoenel MrShoenel commented Dec 20, 2019

Thanks, @goggle! Did you make a PR so it's fixed in the official release as well?

@goggle
Copy link
Contributor

@goggle goggle commented Dec 20, 2019

@MrShoenel Yes, there is a PR, see #22759. Unfortunately, I did not have the time yet to completely go through all the points from the review... I also don't have a Zattoo premium account, which makes it somewhat difficult. So if anyone can give me access to a premium account, that would still help a lot.

@MrShoenel
Copy link

@MrShoenel MrShoenel commented Dec 21, 2019

@goggle I sent you account details for a premium account :)

@seiz
Copy link

@seiz seiz commented Apr 8, 2020

@goggle hey, your fork just stopped working as it can't get the app token anymore. Any chance to get this fixed somehow? I ask, because zattoo will turn off recordings soon for premium accounts and i'd like to download my existing recordings.

@goggle
Copy link
Contributor

@goggle goggle commented Apr 8, 2020

@seiz Is there any chance to have access to your premium account (I do not have one)?
You can find my email address on my github user page.

@seiz
Copy link

@seiz seiz commented Apr 8, 2020

@goggle thought, @MrShoenel sent you one already. I'll happily buy you one for a month, if he didn't.

@goggle
Copy link
Contributor

@goggle goggle commented Apr 8, 2020

@seiz Yes, but it expired during the review process of #22759 if I remember correctly...
Let's discuss this further via email.

@seiz
Copy link

@seiz seiz commented Apr 8, 2020

@goggle OK, account info is underway to your email.

@ytdl-org ytdl-org locked and limited conversation to collaborators Apr 12, 2020
@ytdl-org ytdl-org deleted a comment from misteranonymus Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.