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

Unsupported URL at oe1.orf.at #26043

Open
sobotkac opened this issue Jul 18, 2020 · 1 comment
Open

Unsupported URL at oe1.orf.at #26043

sobotkac opened this issue Jul 18, 2020 · 1 comment

Comments

@sobotkac
Copy link

@sobotkac sobotkac commented Jul 18, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • 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 -v 'https://oe1.orf.at/artikel/444507/Der-Fall-Moritz-Schlick'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://oe1.orf.at/artikel/444507/Der-Fall-Moritz-Schlick']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-9-686-pae-i686-with-debian-10.4
[debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1
[debug] Proxy map: {}
[generic] Der-Fall-Moritz-Schlick: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Der-Fall-Moritz-Schlick: Downloading webpage
[generic] Der-Fall-Moritz-Schlick: Extracting information
ERROR: Unsupported URL: https://oe1.orf.at/artikel/444507/Der-Fall-Moritz-Schlick
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 2387, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 2562, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 2551, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1659, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
    raise err
ParseError: mismatched tag: line 57, column 4
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 3382, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://oe1.orf.at/artikel/444507/Der-Fall-Moritz-Schlick

Description

"https://oe1.orf.at/player..." --> these URLs work fine
"https://oe1.orf.at/artikel..." --> return UnsupportedError (tried some of these)

@sobotkac
Copy link
Author

@sobotkac sobotkac commented Jul 18, 2020

The source of the page (https://oe1.orf.at/artikel/444507/Der-Fall-Moritz-Schlick) contains a link to the data and says autoplay=false. Downloading the data-url works fine. Is it possible to adapt youtube-dl to download directly without looking into to source of the page?

Part of the source:

  | <div class="oon-audio"
  | data-url="https://apasfftp1.sf.apa.at/oe1/internat/0001D050.MP3"
  | data-autoplay="false"
  | data-width="100%"

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
1 participant
You can’t perform that action at this time.