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-Request for sz.de - Süddeutsche Zeitung #14216

Open
htgoebel opened this issue Sep 15, 2017 · 0 comments
Open

Support-Request for sz.de - Süddeutsche Zeitung #14216

htgoebel opened this issue Sep 15, 2017 · 0 comments

Comments

@htgoebel
Copy link

@htgoebel htgoebel commented Sep 15, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.09.11
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Site support request (request for adding support for a new site)
[debug] System config: []
[debug] User config: [u'--prefer-free-formats']
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'http://www.sueddeutsche.de/auto/marodes-schienennetz-die-politik-dreht-sich-viel-zu-sehr-um-den-strassenverkehr-ein-kommentar-1.3639046']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.09.11
[debug] Python version 2.7.13
[debug] exe versions: ffmpeg 3.3.3, ffprobe 3.3.3
[debug] Proxy map: {}
[generic] marodes-schienennetz-die-politik-dreht-sich-viel-zu-sehr-um-den-strassenverkehr-ein-kommentar-1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] marodes-schienennetz-die-politik-dreht-sich-viel-zu-sehr-um-den-strassenverkehr-ein-kommentar-1: Downloading webpage
[generic] marodes-schienennetz-die-politik-dreht-sich-viel-zu-sehr-um-den-strassenverkehr-ein-kommentar-1: Extracting information
ERROR: Unsupported URL: http://www.sueddeutsche.de/auto/marodes-schienennetz-die-politik-dreht-sich-viel-zu-sehr-um-den-strassenverkehr-ein-kommentar-1.3639046
Traceback (most recent call last):
…
UnsupportedError: Unsupported URL: http://www.sueddeutsche.de/auto/marodes-schienennetz-die-politik-dreht-sich-viel-zu-sehr-um-den-strassenverkehr-ein-kommentar-1.3639046

After (next-sibling, not child!) a <figure class="sde-video-player" …> tag there is a <script> tag including var video = {…,"videoUrl":"http://pix.sueddeutsche.de/video_fs/dpa/C/6/C682FB96-F0CA-4CC7-B991-69F69D6706F1.mp4",…}. (I assume the dpa part may vary.)

I assume, something like re.search('"videoUrl"\s*:\s*"([^"]+)"', page_content).group(1) should work.

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.