MrMitch / realdebrid-CLI

:arrow_double_down: Use Read-Debrid from your command line !
https://pypi.python.org/pypi/rdcli
MIT License
23 stars 7 forks source link

Still working ? #8

Closed maxime1992 closed 10 years ago

maxime1992 commented 10 years ago

Hi, i'm using your client since a while but it seems that it's not working anymore.

if i write my usual command : ./main.py -l my_link and i do not get any answer back.

Do i have a problem or isn't it working anymore ?

Thanks for your great work by the way !

MrMitch commented 10 years ago

Hi, That shouldn't be happening, realdebrid-CLI should at least produce an output explaining why it failed. If you try to unrestrict the same link on realdebrid.com, does it work? If yes, there is most likely a bug in realdebrid-CLI. I will try and look at it this week if I can manage to find some time. Thank you for taking the time to report this btw.

maxime1992 commented 10 years ago

Hi, I just made a little test with a random file on "uptobox". Real Debrid unrestricted successfully the link but it is not working with your RealDebrid-Cli. I tried with others usual servers like 1fichier, uploaded ... It is the same. I do not have any input. The command just ends. No error, no unrestricted link. I also tried as root, but it does not change anything. Cheers

MrMitch commented 10 years ago

Ok, thanks for the further investigation. I'll look into it as soon as I can and will keep you posted.

MrMitch commented 10 years ago

Hi maxime,

I was not able to reproduce the issue you described, rdcli worked fine for me. This might be related to a cookie problem.

Can you run the following command and tell me what output it produces on your machine ?

for S in $(tail -2 ~/.config/rdcli-py/cookie.txt | cut -f5); do date --date="@$S"; done
maxime1992 commented 10 years ago

Hi,

Here's the result : dimanche 23 mars 2014, 20:36:44 (UTC+0100) lundi 24 avril 2017, 07:23:23 (UTC+0200)

So in english the equivalent is sunday 23 march 2014, 20:36:44 (UTC+0100) monday 24 april 2017, 07:23:23 (UTC+0200)

MrMitch commented 10 years ago

t'en fais pas, les dates en français m'allaient très bien ;) ça a effectivement l'air d'être un problème de cookie, le premier (dimanche 23 mars 2014, 20:36:44) est expiré et c'est ça qui doit poser problème. je vais voir ce que je peux faire et je te tiens au courant

MrMitch commented 10 years ago

c'est étrange, normalement rdcli met à jour les cookies une fois qu'ils sont expirés. assures-toi d'avoir la dernière version de rcli en lançant : cd /usr/local/bin/realdebrid-CLI && git pull origin master && cd - puis en réessayant de débrider un lien

maxime1992 commented 10 years ago

Haha Français en plus :) La commande me dit que c'est à jour ... Y a t-il moyen de supprimer les cookies pour en avoir des nouveaux peut-être ?

MrMitch commented 10 years ago

Ah shit, c'est pas normal. Pour supprimer les cookies : rm ~/.config/rdcli-py/cookie.txt Ils seront recréés automatiquement lors de la prochaine utilisation. Tu peux me dupmer le contenu du fichier avant de le supprimer (comme ça je peux tester en local et voir pourquoi ils ne sont pas renouvelés chez toi), stp ?

maxime1992 commented 10 years ago

Ah c'était ça, tout remarche nikel !!!! :)

Merci pour ton aide MrMitch !

HLFH commented 10 years ago

@maxime1992 @MrMitch So if everything works for you, you can close this issue.