ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.83k stars 10k forks source link

ERROR: Unable to extract title #28237

Closed Elixiry closed 3 years ago

Elixiry commented 3 years ago

Checklist

Verbose log

D:\Programs\youtube-dl\cmd>CMD /D /T:06 /K D:\Programs\youtube-dl\cmd\youtube-dl.exe --ignore-config --verbose --output D:\tmp "https://rt.pornhub.com/view_video.php?viewkey=ph5c68c732ae7de"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '--verbose', '--output', 'D:\\tmp', 'https://rt.pornhub.com/view_video.php?viewkey=ph5c68c732ae7de']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2021.02.22
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg n4.2.2-1-gece596698c-g7b0c22768e
[debug] Proxy map: {}
[PornHub] ph5c68c732ae7de: Downloading pc webpage
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp6ovysl5t\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp6ovysl5t\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp6ovysl5t\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp6ovysl5t\build\youtube_dl\extractor\pornhub.py", line 284, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp6ovysl5t\build\youtube_dl\extractor\common.py", line 1019, in _html_search_regex
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp6ovysl5t\build\youtube_dl\extractor\common.py", line 1010, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

ERROR: Unable to extract title. This error appears frequently.

dstftw commented 3 years ago

Post the output with --dump-pages.

Elixiry commented 3 years ago

These are geographic restrictions

zhajianting commented 3 years ago

These are geographic restrictions

really? I meet this error too. how to fix it?

Here is my output information:

PS G:\npubits\Materials\Artisan Crafts\youtube-dl> .\youtube-dl.exe --proxy socks5://127.0.0.1:1080/ http://www.91porn.com/view_video.php?viewkey=21d89184bb4799313b99 -v [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--proxy', 'socks5://127.0.0.1:1080/', 'http://www.91porn.com/view_video.php?viewkey=21d89184bb4799313b99', '-v'] [debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936 [debug] youtube-dl version 2021.03.03 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362 [debug] exe versions: none [debug] Proxy map: {'http': 'socks5://127.0.0.1:1080/', 'https': 'socks5://127.0.0.1:1080/'} [91porn] 21d89184bb4799313b99: Downloading webpage ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpvjygsik_\build\youtubedl\YoutubeDL.py", line 806, in wrapper File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpvjygsik\build\youtube_dl\YoutubeDL.py", line 827, in __extractinfo File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpvjygsik\build\youtubedl\extractor\common.py", line 532, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpvjygsik\build\youtube_dl\extractor\porn91.py", line 39, in _realextract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpvjygsik\build\youtube_dl\extractor\common.py", line 1010, in _search_regex youtube_dl.utils.RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.