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

broken: dr.dk/tv/se/ #4814

Closed
alundr opened this issue Jan 29, 2015 · 8 comments
Closed

broken: dr.dk/tv/se/ #4814

alundr opened this issue Jan 29, 2015 · 8 comments

Comments

@alundr
Copy link

@alundr alundr commented Jan 29, 2015

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.dr.dk/tv/se/bla-oejne', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.01.25
[debug] Python version 3.4.2 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.4.4-tessus, ffprobe 2.4.4-tessus, rtmpdump 2.4
[debug] Proxy map: {}
[generic] bla-oejne: Requesting header
WARNING: Falling back on generic information extractor.
[generic] bla-oejne: Downloading webpage
[generic] bla-oejne: Extracting information
ERROR: Unsupported URL: http://www.dr.dk/tv/se/bla-oejne
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 613, in extract_info
ie_result = ie.extract(url)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 266, in extract
return self._real_extract(url)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/youtube_dl/extractor/generic.py", line 1090, in _real_extract
raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.dr.dk/tv/se/bla-oejne

Support for dr.dk/tv/se/ was introduced in issue:
Request for additional site http://dr.dk/tv #3126
http://www.dr.dk/tv/se/partiets-mand/partiets-mand-7-8

The solution seems to have worked well in 2014, but now in 2015 we are back to
WARNING: Falling back on generic information extractor, as shown above.

I suspect a connection to issue:
Add support for dr.dk #4581
'http://www.dr.dk/bonanza/serie/portraetter/Talkshowet.htm?assetId=65517'

The /bonanza/ solution is working now, but please note that the two archives, dr.dk/bonanza/ and dr.dk/tv/se/ are organized differently and need separate extractors.

I hope the two solutions can be made to work concurrently.

dstftw added a commit that referenced this issue Jan 30, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 30, 2015

Will be fixed in the next version. Thanks for the report.

@dstftw dstftw closed this Jan 30, 2015
@alundr
Copy link
Author

@alundr alundr commented Feb 2, 2015

Sorry to report that the problem is not solved. It now looks like the issue:
DR Ramasjang not working #3735

My output looks like this:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.dr.dk/tv/se/bla-oejne', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.02.02
[debug] Python version 3.4.2 - Darwin-14.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.4.4-tessus, ffprobe 2.4.4-tessus, rtmpdump 2.4
[debug] Proxy map: {}
[DRTV] bla-oejne: Downloading video JSON
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/bin/youtube-dl", line 11, in
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/youtube_dl/init.py", line 382, in main
_real_main(argv)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/youtube_dl/init.py", line 372, in _real_main
retcode = ydl.download(all_urls)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1350, in download
res = self.extract_info(url)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 619, in extract_info
ie_result = ie.extract(url)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 267, in extract
return self._real_extract(url)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/youtube_dl/extractor/drtv.py", line 31, in _real_extract
data = programcard['Data'][0]
IndexError: list index out of range

Please note that the test url http://www.dr.dk/tv/se/partiets-mand/partiets-mand-7-8 no longer contains a video and does not show the error.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 2, 2015

Could you name geo unrestricted example URL that yields the same error?

@dstftw dstftw reopened this Feb 2, 2015
@dstftw dstftw closed this in 78271e3 Feb 2, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 2, 2015

Nevermind. Will be fixed in the next version.

@alundr
Copy link
Author

@alundr alundr commented Feb 2, 2015

Thanks for your fast response, looking forward to testing the next version!

Although a bit late, I suggest this url assuming it is unrestricted (restriction is hard to test when living in Denmark, but DR's own productions should be unrestricted):
http://www.dr.dk/tv/se/bonderoeven/bonderoeven-4-10-5

Actually, now I tested above danish production, and it downloads without any problem!
Is the problem really related to the geo restriction on certain broadcasts?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 2, 2015

No, it was not related to geo restriction.
On Feb 2, 2015 10:55 PM, "alundr" notifications@github.com wrote:

Thanks for your fast response, looking forward to testing the next version!

Although a bit late, I suggest this url assuming it is unrestricted
(restriction is hard to test when living in Denmark, but DR's own
productions should be unrestricted):
http://www.dr.dk/tv/se/bonderoeven/bonderoeven-4-10-5

Actually, now I tested above danish production, and it downloads without
any problem!
Is the problem really related to the geo restriction on certain broadcasts?


Reply to this email directly or view it on GitHub
#4814 (comment).

@phihag
Copy link
Contributor

@phihag phihag commented Feb 2, 2015

I believe this issue to be fixed in youtube-dl 2015.02.02.2. See our FAQ if you need help updating.

@alundr
Copy link
Author

@alundr alundr commented Feb 2, 2015

Yes, upgraded to youtube_dl-2015.02.02.5, and now the download works.
Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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