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

Add support for faz.net/podcasts #25473

Open
tom-9 opened this issue May 31, 2020 · 1 comment
Open

Add support for faz.net/podcasts #25473

tom-9 opened this issue May 31, 2020 · 1 comment

Comments

@tom-9
Copy link

@tom-9 tom-9 commented May 31, 2020

Checklist

  • I'm reporting a site feature request
  • I've verified that I'm running youtube-dl version 2020.05.29
  • I've searched the bugtracker for similar site feature requests including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.faz.net/podcasts/f-a-z-digitec-podcast/elon-musk-und-die-nasa-zum-mond-und-noch-viel-weiter-16792188.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.05.29
[debug] Python version 3.7.7 (CPython) - Linux-5.4.28-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-4790S_CPU_@_3.20GHz-with-gentoo-2.6
[debug] exe versions: ffmpeg 4.2.3, ffprobe 4.2.3
[debug] Proxy map: {}
[faz.net] 16792188: Downloading webpage
ERROR: Unable to extract media; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/faz.py", line 51, in _real_extract
    webpage, 'media')
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 1014, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract media; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

#1582 adds support for URLs like https://www.faz.net/multimedia/videos/...

Please add support for URLs like https://www.faz.net/podcasts ...
for example https://www.faz.net/podcasts/f-a-z-digitec-podcast/elon-musk-und-die-nasa-zum-mond-und-noch-viel-weiter-16792188.html

Thanks!

@tom-9
Copy link
Author

@tom-9 tom-9 commented Jul 4, 2020

The URL can be extracted by saving the page completely and then dig into the file player.htm:

sed 's/http/\nhttp/g' <player.htm | egrep '\.(mp|ogg)' | sed 's/\?.*//' | head -n1

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.