GuGuss / ARTE-7-Downloader

User script to download videos from the ARTE+7 website
GNU General Public License v3.0
263 stars 33 forks source link

Script/addon not working on Arte APIv3. #80

Closed RuSimita closed 5 years ago

RuSimita commented 5 years ago

The script has not been working for me for a few days. Browser, greasemonkey, tampermonkey and script are up to date. Runa

grindash commented 5 years ago

Not working for me either

b2labs33 commented 5 years ago

not working anymore with tampermonkey :-(

t3k4y commented 5 years ago

same here..

pherk commented 5 years ago

afais in findPlayers(): checking playlist fails (line 323 : playlistJson is null) and no iframe is found (line 411), therefore nothing happens the anchor div "video-embed" still exists regrettable there is no old arte html example to compare with the new one. this is a case for the arte-downloader gurus

Peter

uahim commented 5 years ago

the iframe markup w/ src is now in - excuse the pseudocode -window.__INITIAL_STATE__.pages.list.<filmid>.zones.{}.data.{}.player.html; i dont see it in the rendered page at all and i cant seem to access it either via js with my limited skills. hence, waiting for the gurus, too.

guillett commented 5 years ago

The script is not working for me either but I found the following link very useful

https://api.arte.tv/api/player/v1/config/fr/077286-001-A?autostart=1&lifeCycle=1

grindash commented 5 years ago

Nice ! Thanks a lot. Just replace manually the last part (077...) with the ID of the video you want to get the link, for example : I want https://www.arte.tv/fr/videos/090755-000-A/la-fiancee-du-pirate/ so https://api.arte.tv/api/player/v1/config/fr/090755-000-A works

yzerlaut commented 5 years ago

The script is not working for me neither anymore

Just replace manually the last part (077...) with the ID of the video you want to get the link Very useful ! Thanks @guillett and @grindash !

if you're interested, I made a small python program that automates the download, check: https://github.com/yzerlaut/Fetch-Arte/blob/master/README.md

It's maybe not as user friendly as the browser interface of @GuGuss though :(

b2labs33 commented 5 years ago

Thanks for sharing Yann. it is working like a charm !

t3k4y commented 5 years ago

Just replace manually the last part (077...) with the ID of the video you want to get the link, for example :

i'm using this small ( + dirty ) tampermonkey js to (manually) prepare a list of videos i want to download via wget etc https://gist.github.com/t3k4y/a88afc5907bca0ffaec316de9bdb8184

Hoping that this nice tool by @GuGuss is working sooner or later since it is way more advanced :-)

eleazara commented 5 years ago

Hi! It is not working for me neither and I don't know nothing about coding :-( Is there a way to make it work again as usual? Is there a way to contact the developers to beg them to make it work again? @GuGuss s'il te plaît, s'il te plaît pourrais-tu le faire fonctionner à nouveau? Merci!!!!

uahim commented 5 years ago

@eleazara try @t3k4y solution above for the time being (if it gives you German language content, it may be necessary to edit line 14 and/or 60 for French - change de to fr in 14 and SQ_1 to SQ_2 in 60 [Edit: and line 7 too, simply replace de to fr in the url])

b2labs33 commented 5 years ago

FYI i finally switched to a more "pythonic" alternative (but less integrated) known as 'YouTube-dl" wich has a good support for arte website. a good solution for batched dl.

Envoyé avec FairEmail [https://email.faircode.eu/] , une application de messagerie pour Android, open source, respectueuse de la vie privée

Mon Aug 12 17:27:55 GMT+02:00 2019 mihau notifications@github.com:

@eleazara [https://github.com/eleazara] try @t3k4y [https://github.com/t3k4y] solution above for the time being (if it gives you German language content, it may be necessary to edit line 14 and/or 60 for French - change de to fr in 14 and SQ_1 to SQ_2 in 60)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub [https://github.com/GuGuss/ARTE-7-Downloader/issues/80?email_source=notifications&email_token=AJALEVNZN2LO2352MFE24HDQEF6PTA5CNFSM4IFTXFO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4C4URQ#issuecomment-520473158] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AJALEVNOAYRUHMMOGUFJ6PTQEF6PTANCNFSM4IFTXFOQ] . [https://github.com/notifications/beacon/AJALEVP6OCQJKAADB55LODDQEF6PTA5CNFSM4IFTXFO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4C4URQ.gif]

uahim commented 5 years ago

a small update to @t3k4y 's script to cover both de and fr website and content languages

https://gist.github.com/uahim/e74b1f7e938fe7e8a1ae1c720d72150f

gorillamoe commented 5 years ago

This should do the trick: https://static.walialu.com/arte.tv-video-downloader.user.js

Toub commented 5 years ago

@walialu looks good, thanks!

Do you hava a github repository? What about a PR to this one?

GuGuss commented 5 years ago

I just merged a fallback proposal which should work for most videos. https://github.com/GuGuss/ARTE-7-Downloader/pull/82

It's been proposed by @guillett . The video selector is not displayed on the page, but opening the browser Dev Tool Box should display the video URL.

gorillamoe commented 5 years ago

I'll work out a PR, today. /cc @guguss @toub

gorillamoe commented 5 years ago

I have it working, now; but need some time for indentation and stuff. There is no real coding style in place here, right? Like EditorConfig.org or whatnot, eh?

gorillamoe commented 5 years ago

Here you go:

https://github.com/GuGuss/ARTE-7-Downloader/pull/83

and EditorConfig here:

https://github.com/GuGuss/ARTE-7-Downloader/pull/84

Also .gitignore for ignore ctags tags file:

https://github.com/GuGuss/ARTE-7-Downloader/pull/85

Toub commented 5 years ago

Awesome!

GuGuss commented 5 years ago

All merged! Thx!!!!!