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

Dplay.se - Changed name to Discovery+ #27680

Closed
5 tasks done
SYSophie opened this issue Jan 5, 2021 · 13 comments
Closed
5 tasks done

Dplay.se - Changed name to Discovery+ #27680

SYSophie opened this issue Jan 5, 2021 · 13 comments

Comments

@SYSophie
Copy link

SYSophie commented Jan 5, 2021

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2021.01.03
  • 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

Verbose log

youtube-dl --verbose https://www.discoveryplus.se/videos/eotb/lyx-fest-och-nakenbad
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.discoveryplus.se/videos/eotb/lyx-fest-och-nakenbad']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.12.05
[debug] Python version 3.9.0 (CPython) - macOS-11.0.1-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] lyx-fest-och-nakenbad: Requesting header
WARNING: Falling back on generic information extractor.
[generic] lyx-fest-och-nakenbad: Downloading webpage
[generic] lyx-fest-och-nakenbad: Extracting information
ERROR: Unsupported URL: https://www.discoveryplus.se/videos/eotb/lyx-fest-och-nakenbad
Traceback (most recent call last):
  File "/usr/local/Cellar/youtube-dl/2020.12.5/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 803, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/Cellar/youtube-dl/2020.12.5/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 824, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/Cellar/youtube-dl/2020.12.5/libexec/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/Cellar/youtube-dl/2020.12.5/libexec/lib/python3.9/site-packages/youtube_dl/extractor/generic.py", line 3381, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.discoveryplus.se/videos/eotb/lyx-fest-och-nakenbad

Description

Dplay announced during fall that they would transit and change the name of the plattform to strengthen the brand. Today this transition took affect. (Link to announcement)

The changes has resulted in a broken extractor.

The changes that are needed not much more then to change the domains for API calls and for the check of the url itself. Usage of cookies remains the same.

Also maybe it would be appropriate to change the name of the extractor from dplay to Discovery+.

Samples on things that has been changed:

https://disco-api.discoveryplus.se/playback/v2/videoPlaybackInfo/xxxxxx?usePreAuth=true
https://disco-api.discoveryplus.se/users/me
@Pirrevirr
Copy link

I'm really trying to understand what you wrote there, but I do not.

What is an extractor and where is it so that I can change it's name? The only file I've downloaded is the youtube-dl.exe. There are no additional files or folders that I've found. Nor have I made an installation for youtube-dl.exe to work, so there can't be any other files or folders somethere else.

How or rather where do I change the domains for the API calls?

I tried to just make a new cookie.txt from the "Get cookie.txt" plug-in. That hasn't worked.

Please help?

@remitamine
Copy link
Collaborator

either download the source to use the latest changes directly or wait for the next release.

@Pirrevirr
Copy link

What does that mean?

The source code to youtube-dl.exe?

@Its-its
Copy link

Its-its commented Jan 8, 2021

What does that mean?

The source code to youtube-dl.exe?

Update youtube-dl. It was just released. Although it seems like they don't have the ".com" domain in there. Looks like just a fix for the international discoveryplus sites. dk, es, fi, it, se, no domains are in there but no .com

@Pirrevirr
Copy link

What does that mean?
The source code to youtube-dl.exe?

Update youtube-dl. It was just released. Although it seems like they don't have the ".com" domain in there. dk, es, fi, it, se, no domains are in there but no .com

Thank you, thank you, thank you, thank you!! 🥇

@thedreamer91
Copy link

What does that mean?
The source code to youtube-dl.exe?

Update youtube-dl. It was just released. Although it seems like they don't have the ".com" domain in there. dk, es, fi, it, se, no domains are in there but no .com

I've just updated youtube-dl but i can't download from it domain

.\youtube-dl -f "best[height=720]" --cookie cookie.txt --verbose https://www.discoveryplus.it/programmi/bake-off-italia-dolci-sotto-un-tetto
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'best[height=720]', '--cookie', 'cookie.txt', '--verbose', 'https://www.discoveryplus.it/programmi/bake-off-italia-dolci-sotto-un-tetto']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.01.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.3.1-2020-11-08-full_build-www.gyan.dev
[debug] Proxy map: {}
[generic] bake-off-italia-dolci-sotto-un-tetto: Requesting header
WARNING: Falling back on generic information extractor.
[generic] bake-off-italia-dolci-sotto-un-tetto: Downloading webpage
[generic] bake-off-italia-dolci-sotto-un-tetto: Extracting information
ERROR: Unsupported URL: https://www.discoveryplus.it/programmi/bake-off-italia-dolci-sotto-un-tetto
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpe72mu9fe\build\youtube_dl\YoutubeDL.py", line 803, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpe72mu9fe\build\youtube_dl\YoutubeDL.py", line 824, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpe72mu9fe\build\youtube_dl\extractor\common.py", line 532, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpe72mu9fe\build\youtube_dl\extractor\generic.py", line 3467, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.discoveryplus.it/programmi/bake-off-italia-dolci-sotto-un-tetto

@Pirrevirr
Copy link

Have you made a new cookie.txt from discoveryplus.it?

@thedreamer91
Copy link

Have you made a new cookie.txt from discoveryplus.it?

either made a new cookie and tried without cookie

@remitamine
Copy link
Collaborator

#14960

@AchillesPDX
Copy link

AchillesPDX commented Jan 9, 2021

How do we get discoveryplus.com added to the DPlay extractor? My python is terrible and I have no idea how to fix it.

@SYSophie
Copy link
Author

What does that mean?
The source code to youtube-dl.exe?

Update youtube-dl. It was just released. Although it seems like they don't have the ".com" domain in there. dk, es, fi, it, se, no domains are in there but no .com

I've just updated youtube-dl but i can't download from it domain

.\youtube-dl -f "best[height=720]" --cookie cookie.txt --verbose https://www.discoveryplus.it/programmi/bake-off-italia-dolci-sotto-un-tetto
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'best[height=720]', '--cookie', 'cookie.txt', '--verbose', 'https://www.discoveryplus.it/programmi/bake-off-italia-dolci-sotto-un-tetto']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.01.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.3.1-2020-11-08-full_build-www.gyan.dev
[debug] Proxy map: {}
[generic] bake-off-italia-dolci-sotto-un-tetto: Requesting header
WARNING: Falling back on generic information extractor.
[generic] bake-off-italia-dolci-sotto-un-tetto: Downloading webpage
[generic] bake-off-italia-dolci-sotto-un-tetto: Extracting information
ERROR: Unsupported URL: https://www.discoveryplus.it/programmi/bake-off-italia-dolci-sotto-un-tetto
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpe72mu9fe\build\youtube_dl\YoutubeDL.py", line 803, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpe72mu9fe\build\youtube_dl\YoutubeDL.py", line 824, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpe72mu9fe\build\youtube_dl\extractor\common.py", line 532, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpe72mu9fe\build\youtube_dl\extractor\generic.py", line 3467, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.discoveryplus.it/programmi/bake-off-italia-dolci-sotto-un-tetto

seems like you are using the show URL instead of a specific episode URL.

@SYSophie
Copy link
Author

How do we get discoveryplus.com added to the DPlay extractor? My python is terrible and I have no idea how to fix it.

It has been added in the latest version of yt-dl and therefore has this ticket been closed.

Use cookies and find the right URLs guys

@remitamine
Copy link
Collaborator

remitamine commented Jan 10, 2021

It has been added in the latest version of yt-dl and therefore has this ticket been closed.

no, this issue is about Dplay websites changing their domains to discoveryplus domains, there is already an open issue related to discoveryplus.com.
@SYSophie again, i already linked to the issue related to your problem.

@ytdl-org ytdl-org locked as resolved and limited conversation to collaborators Jan 10, 2021
ThirumalaiK pushed a commit to ThirumalaiK/youtube-dl that referenced this issue Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants