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

--sleep-interval not working without video download #4924

Open
ponyo opened this issue Feb 10, 2015 · 12 comments
Open

--sleep-interval not working without video download #4924

ponyo opened this issue Feb 10, 2015 · 12 comments
Labels
bug

Comments

@ponyo
Copy link

@ponyo ponyo commented Feb 10, 2015

For example, downloading just the subs from a playlist.

This is the type of situation where sleeping is actually useful because downloading a video takes time anyway.

@misakitchi
Copy link

@misakitchi misakitchi commented Nov 18, 2016

I agree!
Can you do something about it?
and option --download-archive is not working too when i only take subs on crunchyroll

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 18, 2016

Currently --sleep-interval is implemented in downloaders, while subtitles are downloaded directly (not via downloaders) in YoutubeDL class.
Likewise, --sleep-interval does not work with --skip-download either. I guess most sites blocking users based on how often they issue requests, not how often they download video files, so it's better to put codes for --sleep-interval in YoutubeDL.process_info.

@yan12125 yan12125 added the bug label Nov 18, 2016
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 18, 2016

@misakitchi

and option --download-archive is not working too when i only take subs on crunchyroll

From the description of --download-archive:

    --download-archive FILE          Download only videos not listed in the
                                     archive file. Record the IDs of all
                                     downloaded videos in it.

It's designed for downloaded videos.

@misakitchi
Copy link

@misakitchi misakitchi commented Nov 19, 2016

I only DL subs (FR/French) from crunchyroll. Because i already have video on Nyaa torrent
I don't understand all you say because my english is poor...
But can you do something to activate option --sleep-interval and option --retries when i DL subs from playlist? Thoses both options are not working when i DL only subs
Because i have many errors "HTTP Error 502 Bad Gateway"
Example of playlist: http://www.crunchyroll.com/izetta-the-last-witch

Or is there an option to DL just the begining of the video? So Options --sleep-interval and --retries will work. And after end of batch i will delete video

Thanks for help! :)

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 19, 2016

Or is there an option to DL just the begining of the video?

Try --test

@misakitchi
Copy link

@misakitchi misakitchi commented Nov 19, 2016

THANKS!! ^_^
Option --test is working!
And now --sleep-interval is working too and i have no more "HTTP Error 502 Bad Gateway"!! :)
Will option --retries work with --test?
It will be good that you add --test option in youtube-dl manual (i didn't see it) :)

I have another question:
the sub filename is xxxx.frFR.ass
i want only xxx.fr.ass is it possible?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 19, 2016

Will option --retries work with --test?

How about try it?

It will be good that you add --test option in youtube-dl manual (i didn't see it) :)

Well, the option is not designed for such a case. It's a beautiful coincidence :)

i want only xxx.fr.ass is it possible?

Currently no. The tag frFR is provided by Crunchyroll

@misakitchi
Copy link

@misakitchi misakitchi commented Nov 19, 2016

And i don't know if its a bug, but for option --download-archive FILE
it DL all media info and subtitles and after this it say "Oh i already have this video!!"... :(
its not better to verify first "i already have this video" and not DL media info and subtitles?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 19, 2016

Download archives are checked against video ID. In several sites, video ID are unknown until metadata fetched.
For subtitles...you can call it a bug

@misakitchi
Copy link

@misakitchi misakitchi commented Nov 19, 2016

OK but for crunchyroll you have video ID at first, before metadata
So can you do something to not fetch all metadata? :)

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 19, 2016

It's possible but not implemented yet. Could you open a new issue for that?

@jhondbv
Copy link

@jhondbv jhondbv commented Apr 24, 2020

any solution for this bug ?

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