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

Youtube-dl not writing to archive file when --skip-download is active #16382

Closed
ThomasWarnasch opened this issue May 5, 2018 · 1 comment
Closed
Labels

Comments

@ThomasWarnasch
Copy link

@ThomasWarnasch ThomasWarnasch commented May 5, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.05.01

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [https://www.youtube.com/watch?v=%%G --add-metadata --download-archive youtube-dl-archive-verify.txt --skip-download]
[debug] Encodings: N/A?
[debug] youtube-dl version 2018.05.01
[debug] Python version 3.6.5
[debug] exe versions: ffmpeg 20180410-d64183e, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

My current problem is that when I run youtube-dl with --skip-download it no longer writes to the archive file.
I'm attempting to check if youtube video IDs from a text file still lead to a video, and if they still do, write the ID to another text file. My goal is to later with another script check which IDs are still active and which aren't (though this doesn't have to be covered in my problem).

My entire current script is
set "urle=" for /F "tokens=*" %%A in (youtube-dl-archive.txt) do ( for /f "tokens=2" %%G IN ("%%A") DO ( echo %%G youtube-dl https://www.youtube.com/watch?v=%%G --add-metadata --download-archive youtube-dl-archive-verify.txt --skip-download ) )

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 5, 2018

This is expected behavior.

@dstftw dstftw closed this May 5, 2018
@dstftw dstftw added the invalid label May 5, 2018
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
2 participants
You can’t perform that action at this time.