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

Suggestion option to dump only result, viz id, artist-title or error #2602

Open
artofit opened this issue Mar 22, 2014 · 2 comments
Open

Suggestion option to dump only result, viz id, artist-title or error #2602

artofit opened this issue Mar 22, 2014 · 2 comments
Labels

Comments

@artofit
Copy link

@artofit artofit commented Mar 22, 2014

While downloading a playlist one may encounter several issues such:

  • one's artist-title does not correspond to the ouput
  • errors

Those are very insteresting information, but a matching between the returned information from youtube-dl and your own can be lenghty process.

I propose to have an option (say -d summaryLog.txt) to dump a summary log unicode or UTF-8 text file with the following structure, for each videoID a single line as:
video_ID; either output name or occurred error

So instead of for instance:
F:\Youtube Extract\Russian>youtube-dl nG647q4Obds
[youtube] Setting language
[youtube] nG647q4Obds: Downloading webpage
[youtube] nG647q4Obds: Downloading video info webpage
[youtube] nG647q4Obds: Extracting video information
[youtube] nG647q4Obds: Encrypted signatures detected.
[download] Destination: - -nG647q4Obds.mp4
[download] 100% of 5.08MiB in 00:05

One would have:
nG647q4Obds; Инфинити - Таю-nG647q4Obds

Thanks

@jaimeMF jaimeMF added the request label Mar 22, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Mar 22, 2014

Can you elaborate on what an artist-title is and how you perform the matching? Without enough context of your problem, any implementation is unlikely to really solve your problem.

@artofit
Copy link
Author

@artofit artofit commented Mar 23, 2014

Well, I mean you may have created your own playlist, such as in a csv or xls file, with some column info such as
genre;artist;title;video_id

Now, when downloading a list of video_id, you may wish to control the downloads against your list, obviously the video_id is a good primary key choice.

By performing such a check you may notice basically 2 issues:
1/ the video_id does not correspond to what you expected from your list
2/ the video was not downloaded for some reason.

Dumping the result of a command such as:
youtube-dl -i -a listOfVid.txt
to an unicode/utf-8 text file having the structure:
video_od; either output name or occurred error

would make it easy to cross check against source playlist.

Thanks

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
3 participants
You can’t perform that action at this time.