question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] How to save video titles or URLs alongside the IDs when using (download archive)?

See original GitHub issue

Checklist

  • I’m asking a question
  • I’ve looked through the README and FAQ for similar questions
  • I’ve searched the bugtracker for similar questions including closed ones

Question

Hi! 👋

When using --download-archive function youtube-dl saves the video IDs to a .txt file. How can i add video titles/URLs to it so that it becomes something like this:

Ducks having a conversation
youtube xJVwvq5z3MI

OR:

Ducks having a conversation
https://www.youtube.com/watch?v=xJVwvq5z3MI

Or if there’s any other way to save the title+IDs/URLs together in a text file with no more info than that?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pukkandancommented, Nov 28, 2020

Also why did you use --get-filename? shouldn’t that be --get-title instead since we’re looking for titles and not filenames?

It is a hack to get id and title together. --get-title will only give you the title and not the id. --get-filename -o "%(id)s %(title)s" tells yt-dlc to name the file as id title and then print that title. That way we get both id and title in a single command

1reaction
fosamcommented, Nov 28, 2020

Just read it, Thanks @Vangelis66

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to save video titles or URLs alongside the IDs when ...
Hi! When using --download-archive function youtube-dl saves the video IDs to a txt file. How can i add video URLs/titles to it so...
Read more >
How to Export a List of all your YouTube Videos.
Your browser can't play this video. ... How to Export a List of all your YouTube Videos. ... You can connect with me...
Read more >
How do we download a blob url video [closed] - Stack Overflow
I just came up with a general solution, which should work on most websites. I tried this on Chrome only, but this method...
Read more >
youtube-dl/README.md at master - GitHub
Command-line program to download videos from YouTube.com and other video sites ... --id Use only video ID in file name -o, --output TEMPLATE...
Read more >
YouTube Hacks: 21 Tricks and Features You Probably Didn't ...
Copy the Video ID. It's the 11 characters that follows: youtube.com/watch?v=. Paste the VideoID here: img.youtube.com/vi/[ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found