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

Support for NRK Radio podcasts #16097

Closed
forthrin opened this issue Apr 5, 2018 · 1 comment
Closed

Support for NRK Radio podcasts #16097

forthrin opened this issue Apr 5, 2018 · 1 comment

Comments

@forthrin
Copy link

@forthrin forthrin commented Apr 5, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.04.03
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Site support request (request for adding support for a new site)

$ youtube-dl --verbose https://radio.nrk.no/podcast/ulrikkes_univers/nrkno-poddkast-26588-134079-05042018030000
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://radio.nrk.no/podcast/ulrikkes_univers/nrkno-poddkast-26588-134079-05042018030000']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.04.03
[debug] Python version 2.7.10 (CPython) - Darwin-16.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4.2, ffprobe 3.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] nrkno-poddkast-26588-134079-05042018030000: Requesting header
WARNING: Falling back on generic information extractor.
[generic] nrkno-poddkast-26588-134079-05042018030000: Downloading webpage
[generic] nrkno-poddkast-26588-134079-05042018030000: Extracting information
ERROR: Unsupported URL: https://radio.nrk.no/podcast/ulrikkes_univers/nrkno-poddkast-26588-134079-05042018030000
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2205, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2542, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2531, in _XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 16, column 69
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 785, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 440, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3143, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://radio.nrk.no/podcast/ulrikkes_univers/nrkno-poddkast-26588-134079-05042018030000
$

@barsnick
Copy link

@barsnick barsnick commented May 23, 2018

Strictly speaking, NRK Radio is already well supported. This URL is special as it is a (possibly new) podcast-only program.

(I suggest to rename this issue to "Support for NRK Radio podcasts", and make it a site request.)

I assume it uses the identical hosting to the other programs, so an adaptation of the NRKRadio extractor to support this URL might be sufficient. I haven't checked myself though.

(Forresten, elsker Ulrikkes podkast!)

@forthrin forthrin changed the title Support for NRK radio Support for NRK Radio podcasts May 23, 2018
@forthrin forthrin closed this May 16, 2019
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
2 participants
You can’t perform that action at this time.