-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[niconico] Downloading long videos requires heartbeat signals #14582
Comments
If you want to reporduce, download any video from niconico. (You do need a username and password from a registed account.) Let it download. it will work for a while(approximately 3minutes ore more before the link changes... then it errors out.) |
Nico Nico Douga seems that access will be disconnected unless a heartbeat signal is sent regularly. |
I added that flag as I can still download full videos and the downloaded file appears fine. Tried both two days ago and just now:
I guess 2 seconds is shorter than the period of heartbeat signals. Do you have longer examples? |
Please try with this URL. |
Thanks! I can reproduce the error now
|
any update on this? |
try this way:
enjoy it! |
@awei78 Could you create pull request for this? |
@prince0203 I am sorry for my poor English. I think that i can not create it, but I can provide a solution:
|
[niconico] Add heartbeat logic (closes #14582)
@yan12125 Thanks. |
@yan12125
Are "Current developers" you two? I'm sorry if my poor english were rude expression... |
@dstftw @remitamine |
[niconico] Add heartbeat logic (closes #14582)
Workaround is to keep running command using loop #19261 (comment) |
* develop_heartbeat: [niconico] Add heartbeat logic (closes ytdl-org#14582)
Issue status? Is there a fix for users using the windows executable? |
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like this:[x]
)Make sure you are using the latest version: run
youtube-dl --version
and ensure your version is 2017.10.20. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-v
flag to your command line you run youtube-dl with (youtube-dl -v <your command line>
), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
As of today, Nicovideo's seem to implemented a new session system. After every few minutes, the url of the video changes. This causes a 403 Forbidden error on the old url, Causing the Downloader to fail.
A screenshot of part of a video session:
Resuming the download works just for a few minutes before the session is dropped.
Note: I have only tested on a non-premium account. Im not sure if it applies to the permium accounts or not.
The text was updated successfully, but these errors were encountered: