Greasy Fork is available in English.

Inject2Download

Simple media download script

< Σχολιασμός για τον κώδικα Inject2Download

Αναφορά: Καλός - ο κώδικας λειτουργεί

§
Δημοσιεύτηκε: 02/09/2018

nicovideo.jp

Don't work at nicovideo.jp pls fix

AnonymousMeerkatΔημιουργός
§
Δημοσιεύτηκε: 02/09/2018

Would you mind linking to a video that doesn't work?

It works for me with this page: http://www.nicovideo.jp/watch/sm33794543 ([raw video] shows up)

§
Δημοσιεύτηκε: 02/09/2018

No menu is displayed for downloading

AnonymousMeerkatΔημιουργός
§
Δημοσιεύτηκε: 02/09/2018

Even in the one I linked? Could you check the console (F12) and see if it shows any lines with "[i2d]" in it?

§
Δημοσιεύτηκε: 03/09/2018

@AnonymousMeerkat написал: Even in the one I linked? Could you check the console (F12) and see if it shows any lines with "[i2d]" in it? I tried to use a clean browser without other add-ons, but nothing changed. In the console there is no such. Yes i watch your video link.

AnonymousMeerkatΔημιουργός
§
Δημοσιεύτηκε: 03/09/2018

Could you let me know which userscript manager you are using? It works fine for me under Violentmonkey, but I'll try to replicate the issue.

§
Δημοσιεύτηκε: 03/09/2018

tampermoney, Chrome last versions

AnonymousMeerkatΔημιουργός
§
Δημοσιεύτηκε: 04/09/2018

I've just created a new profile, using the same Chrome version as you are using and Tampermonkey, but I've unfortunately been unable to replicate the issue.

Could you try to use Violentmonkey and see if it still happens? If it still happens, would you mind posting a screenshot of the console? (make sure to reload the page once it's open, so it records everything)

§
Δημοσιεύτηκε: 04/09/2018
Επεξεργάστηκε: 04/09/2018

Uhh. I understood. You work because you are not logged in to their site. After authorization on the site, the player type changes from "http" to "hls", but right click on the video allows you to return back "http" player, and yor scripts start working, but pannel with links shows not in video area but in the upper left corner of page.

AnonymousMeerkatΔημιουργός
§
Δημοσιεύτηκε: 04/09/2018

You're right! I just logged in, and the same behaviour was exhibited for me too. I could support niconico (I found how to do it), however, a tool like youtube-dl would be much more suitable for this. As you mentioned, it uses HLS, so youtube-dl (or similar) would be required anyways to download it.

There are a few singular websites (such as Soundcloud and Mixcloud) this script supports, however, those were because youtube-dl at the time didn't support them or were broken, and for different reasons, I personally immediately needed to download them. If youtube-dl doesn't work for you with niconico, I'll add support for it in this script.

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.