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.

Separate ID archive for non-videos

See original GitHub issue

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

  • I’m requesting a feature unrelated to a specific site
  • I’ve looked through the README
  • I’ve verified that I’m running yt-dlp version 2022.09.01 (update instructions) or later (specify commit)
  • I’ve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
  • I’ve read the guidelines for opening an issue

Provide a description that is worded well enough to be understood

Commit 3c757d5ed2527b17881eb65c67ddbe0d1335771f

The --download-archive option only records videos. For example, if you were to download a YouTube channel’s playlist tab, all the playlists downloaded would not be recorded in the archive, just the videos themselves.

I use the epoch value in my output template which makes the output filenames always unique, so the playlists or channel homepage end up getting downloaded again everytime I download from a playlist/channel URL, which can pile up. Not a problem for videos because of the download-archive option stopping redownloads so that I can manually trigger them, but I would like a separate option that handles non-video IDs.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
pukkandancommented, Sep 27, 2022

I suggest modifying -o pl_infojson: to remove epoch. Adding the playlist id to an archive will not give you the result you expect

0reactions
AtticFinder65536commented, Sep 27, 2022

for better understanding my output template is currently 【%(channel_id)s】%(channel)s/【%(upload_date>%Y-%m-%d)s】【%(id)s】【%(epoch>%Y-%m-%dT%H:%M:%S)s】%(title)s/%(id)s.%(ext)s, I write all metadata and keep --write-playlist-metafiles, which is why the playlist metadata is where it is

I suggest modifying -o pl_infojson: to remove epoch. Adding the playlist id to an archive will not give you the result you expect

That’s possible, but I keep epoch for a reason so it’s not ideal. You can close the issue though if a separate archive that only acts upon playlist metadata saving (and doesn’t stop processing of playlist items) isn’t possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Norm Macdonald Live : Free Download, Borrow, and Streaming
Norm Macdonald LiveA free video podcast which was freely available until it was removed without warning. Now it's freely available here.
Read more >
youtube-dl/README.md at master - GitHub
--id Use only video ID in file name -o, --output TEMPLATE Output filename ... name # Download YouTube playlist videos in separate directory...
Read more >
Command Line Options — Instaloader documentation
If an already-downloaded profile has been renamed, Instaloader automatically finds it by its unique ID and renames the folder accordingly. Besides the profile's ......
Read more >
Why does a person's TikTok account have likes on the ... - Quora
A person's TikTok profile page will show likes with no videos posted for one ... Since they have no video posted ATM, they...
Read more >
Revision - [rutube] Extract all formats - the Software Heritage archive
Can also be used to download to a different directory, for example with -o '/my/downloads/%(uploader)s /%(title)s-%(id)s.%(ext)s' .
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