Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
YouTube-DL: Prepend '-- ' option.., work, NOT as expected. #20649
Comments
|
|
|
Many Tanks Mr. Sergey M! |
|
OOPS! Please read the first line as 'Many Thanks Mr. Sergey M!' (my kbd problem.) |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.04.07. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
=>
We saw this in YouTube-DL README.md file:
Either prepend https://www.youtube.com/watch?v= or separate the ID from the options with -- :
youtube-dl -- -wNyEUrxzFU
youtube-dl "https://www.youtube.com/watch?v=-wNyEUrxzFU"
... I tried the same with multiple (individual) video files, but, it didn't work as expected; only the last video in the Comand line worked satisfactorily. These are the latest log for your information:
Microsoft Windows [Version 10.0.17763.379]
(c) 2018 Microsoft Corporation. All rights reserved.
< 11-04-2019 & 21:55:09.25 | C:\Users\admin> youtube-dl[2019.04.07] -ci --no-playlist --embed-thumbnail -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" -o "D:\Downloads%(title)s(u%(upload_date)s; %(duration)s; %(height)sp)YT '%(uploader)s'.%(ext)s" -- V1mtDir12Ts
[youtube] V1mtDir12Ts: Downloading webpage
[youtube] V1mtDir12Ts: Downloading video info webpage
[youtube] Downloading just video V1mtDir12Ts because of --no-playlist
[youtube] V1mtDir12Ts: Downloading thumbnail ...
[youtube] V1mtDir12Ts: Writing thumbnail to: D:\Downloads\Uttarakhand Tourism _ Xplore India _ #Uttarakhand _ Travelxp India Tourism_ India Tourism Place(u20181031; 34; 720p)YT 'TravelXp HD'.jpg
[download] D:\Downloads\Uttarakhand Tourism _ Xplore India _ #Uttarakhand _ Travelxp India Tourism India Tourism Place(u20181031; 34; 720p)YT 'TravelXp HD'.mp4 has already been downloaded and merged
[atomicparsley] Adding thumbnail to "D:\Downloads\Uttarakhand Tourism _ Xplore India _ #Uttarakhand _ Travelxp India Tourism _India Tourism Place(u20181031; 34; 720p)YT 'TravelXp HD'.mp4"
< 11-04-2019 & 21:55:28.32 | C:\Users\admin> youtube-dl[2019.04.07] -ci --no-playlist --embed-thumbnail -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" -o "D:\Downloads%(title)s(u%(upload_date)s; %(duration)s; %(height)sp)YT '%(uploader)s'.%(ext)s" -- N_sZbS4Ei6s -- wN_ArXr8AzM
[youtube] N_sZbS4Ei6s: Downloading webpage
[youtube] N_sZbS4Ei6s: Downloading video info webpage
[youtube] Downloading just video N_sZbS4Ei6s because of --no-playlist
[youtube] N_sZbS4Ei6s: Downloading thumbnail ...
[youtube] N_sZbS4Ei6s: Writing thumbnail to: D:\Downloads\Indian Railways' New 'Luxury' Chair Cars With Aircraft-Like Features(u20170109; 394; 1080p)YT 'The Financial Express'.jpg
[download] D:\Downloads\Indian Railways' New 'Luxury' Chair Cars With Aircraft-Like Features(u20170109; 394; 1080p)YT 'The Financial Express'.mp4 has already been downloaded and merged
[atomicparsley] Adding thumbnail to "D:\Downloads\Indian Railways' New 'Luxury' Chair Cars With Aircraft-Like Features(u20170109; 394; 1080p)YT 'The Financial Express'.mp4"
ERROR: '--' is not a valid URL. Set --default-search "ytsearch" (or run youtube-dl "ytsearch:--" ) to search YouTube
[youtube] wN_ArXr8AzM: Downloading webpage
[youtube] wN_ArXr8AzM: Downloading video info webpage
[youtube] Downloading just video wN_ArXr8AzM because of --no-playlist
[youtube] wN_ArXr8AzM: Downloading thumbnail ...
[youtube] wN_ArXr8AzM: Writing thumbnail to: D:\Downloads\UDAY EXPRESS - India's First Business Class DOUBLE DECKER Express Train _ FIRST Departure(u20180406; 230; 1080p)YT 'TheTrainGuy'.jpg
[download] Resuming download at byte 18826942
[download] Destination: D:\Downloads\UDAY EXPRESS - India's First Business Class DOUBLE DECKER Express Train _ FIRST Departure(u20180406; 230; 1080p)YT 'TheTrainGuy'.f137.mp4
[download] 100% of 94.10MiB in 05:23
[download] Destination: D:\Downloads\UDAY EXPRESS - India's First Business Class DOUBLE DECKER Express Train _ FIRST Departure(u20180406; 230; 1080p)YT 'TheTrainGuy'.f140.m4a
[download] 100% of 3.55MiB in 00:14
[ffmpeg] Merging formats into "D:\Downloads\UDAY EXPRESS - India's First Business Class DOUBLE DECKER Express Train _ FIRST Departure(u20180406; 230; 1080p)YT 'TheTrainGuy'.mp4"
Deleting original file D:\Downloads\UDAY EXPRESS - India's First Business Class DOUBLE DECKER Express Train _ FIRST Departure(u20180406; 230; 1080p)YT 'TheTrainGuy'.f137.mp4 (pass -k to keep)
Deleting original file D:\Downloads\UDAY EXPRESS - India's First Business Class DOUBLE DECKER Express Train _ FIRST Departure(u20180406; 230; 1080p)YT 'TheTrainGuy'.f140.m4a (pass -k to keep)
[atomicparsley] Adding thumbnail to "D:\Downloads\UDAY EXPRESS - India's First Business Class DOUBLE DECKER Express Train _ FIRST Departure(u20180406; 230; 1080p)YT 'TheTrainGuy'.mp4"
< 11-04-2019 & 22:04:34.61 | C:\Users\admin> Exit
Is it a Bug? I don't know. Please, do the needful, if necessary.
ATB! Regards,