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.39k stars 9.96k forks source link

Extractor regex error getting and not downloaded video #32889

Closed Roxy45l closed 1 month ago

Roxy45l commented 1 month ago

Hello i get this error. ERROR: Unable to extract nsig function code (caused by RegexNotFoundError('Unable to extract Initial JS player n function name; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; see https://github.com/ytdl-org/youtube-dl/#user-content-installation on how to update. Be sure to call youtube-dl with the --verbose option and include the complete output.')); please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; see https://github.com/ytdl-org/youtube-dl/#user-content-installation on how to update. Be sure to call youtube-dl with the --verbose option and include the complete output. youtube | 1 - 2024-08-01 09:50:24,872 - WARNING - Video not downloaded and status 0 youtube | 1 - 2024-08-01 09:50:24,886 - INFO - Download video status updated. Id: 401092, Status: 0 youtube | 1 - 2024-08-01 09:50:24,887 - INFO - Video init completed for Video URL: https://www.youtube.com/watch?v=lXNwBV79BLI youtube | [youtube] lXNwBV79BLI: Downloading webpage youtube | WARNING: Unable to download webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:992)> youtube | [youtube] gKvfmzhIYc0: Downloading API JSON youtube | WARNING: Unable to download webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:992)> youtube | [youtube] 7I3l8w6m94U: Downloading API JSON

Can you fix pls

dirkf commented 1 month ago

Hello, please follow #30839 as asked when reporting your problem (which looks like a known issue).

Roxy45l commented 1 month ago

@dirkf Hello bro, I downloaded the library up to date and I use it. But there is still the same error. I looked at the fixed code and saw that it was in the library. Despite this, my code is indexed to the video

dirkf commented 1 month ago

Fixed in master code and https://github.com/ytdl-org/ytdl-nightly/releases/tag/2024.08.02