KevCui / soaper-dl

:tv: Soaper downloader: download TV series and movies in your terminal
Do What The F*ck You Want To Public License
69 stars 19 forks source link

Cookie #13

Closed cyber-hunt7 closed 2 years ago

cyber-hunt7 commented 2 years ago

I am keep getting [ERROR] Cannot get cookie. Try again later.

Can someone please help me with this.

KevCui commented 2 years ago

Hi @Cybersecghost, the script cannot fetch cookies any more due to the server restriction. A new method needs to be implemented. Until then, the script is no longer working. :(

KevCui commented 2 years ago

Hi @Cybersecghost, the latest commit should fix the cookie issue. From now on, some new dependencies are required, please check readme file for more details. Please give it a try.

cyber-hunt7 commented 2 years ago

Thank you very much, I will give it a try.

From: K̶e̶v̶i̶n̶ @.> Sent: Wednesday, January 12, 2022 5:09 PM To: KevCui/soap2day-dl @.> Cc: Cybersecghost @.>; Mention @.> Subject: Re: [KevCui/soap2day-dl] Cookie (Issue #13)

Hi @Cybersecghost https://github.com/Cybersecghost , the latest commit should fix the cookie issue. From now on, some new dependencies are required, please check readme file for more details. Please give it a try.

— Reply to this email directly, view it on GitHub https://github.com/KevCui/soap2day-dl/issues/13#issuecomment-1011141685 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPD3QJ3QP2ZAC4KAWPW4HTUVWKQZANCNFSM5LYL65GA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AIPD3QMAFTFQSO4VXLAYQVTUVWKQZA5CNFSM5LYL65GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHRCMYNI.gif Message ID: @. @.> >

cyber-hunt7 commented 2 years ago

Hi,

I have try to follow your instructions but nothing is working.

Can you please maybe give me a step by step guide. I am still a noob with linux.

Thank you much appreciate it.

From: K̶e̶v̶i̶n̶ @.> Sent: Wednesday, January 12, 2022 5:09 PM To: KevCui/soap2day-dl @.> Cc: Cybersecghost @.>; Mention @.> Subject: Re: [KevCui/soap2day-dl] Cookie (Issue #13)

Hi @Cybersecghost https://github.com/Cybersecghost , the latest commit should fix the cookie issue. From now on, some new dependencies are required, please check readme file for more details. Please give it a try.

— Reply to this email directly, view it on GitHub https://github.com/KevCui/soap2day-dl/issues/13#issuecomment-1011141685 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPD3QJ3QP2ZAC4KAWPW4HTUVWKQZANCNFSM5LYL65GA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AIPD3QMAFTFQSO4VXLAYQVTUVWKQZA5CNFSM5LYL65GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHRCMYNI.gif Message ID: @. @.> >

KevCui commented 2 years ago

@Cybersecghost step by step, sure:

  1. Git pull latest changes
  2. Check dependencies if they are all installed on your machine https://github.com/KevCui/soap2day-dl#dependency
  3. Install puppeteer https://github.com/KevCui/soap2day-dl#installation
  4. Run script ./soap2day-dl.sh -n 'game of'

It should work like a charm. Let me know if something blocks you.

cyber-hunt7 commented 2 years ago

So I try it again and this is the error I get.

/soap2day-dl.sh: line 185: /opt/soap2day-dl//.source.html: Permission denied

So if I run it with sudo then I get cannot fetch cookie.

I also see there is not a source.list file.

Can you please help me

From: K̶e̶v̶i̶n̶ @.> Sent: Thursday, January 13, 2022 8:33 PM To: KevCui/soap2day-dl @.> Cc: Cybersecghost @.>; Mention @.> Subject: Re: [KevCui/soap2day-dl] Cookie (Issue #13)

@Cybersecghost https://github.com/Cybersecghost step by step, sure:

  1. Check dependencies if they are all installed on your machine https://github.com/KevCui/soap2day-dl#dependency
  2. Install puppeteer https://github.com/KevCui/soap2day-dl#installation
  3. Run script ./soap2day-dl.sh -n 'game of'

It should work like a charm. Let me know if something blocks you.

— Reply to this email directly, view it on GitHub https://github.com/KevCui/soap2day-dl/issues/13#issuecomment-1012401354 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPD3QIJ66JLOG7JYK5OBFDUV4LFRANCNFSM5LYL65GA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AIPD3QIUSWQXVPKXG2OHPWTUV4LFRA5CNFSM5LYL65GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHRMAJSQ.gif Message ID: @. @.> >

KevCui commented 2 years ago

Hi @Cybersecghost, a normal user is enough to run the script, you don't need to use root or sudo, i's also not recommended.

I saw your put script under /opt/. I'd suggest to clone the repo under /home/{your_user_name}/, so that your user has the permission to create .source.html file.

cyber-hunt7 commented 2 years ago

Hi, will try that and let you know.

Thank you for the support

From: K̶e̶v̶i̶n̶ @.> Sent: Friday, January 14, 2022 1:03 PM To: KevCui/soap2day-dl @.> Cc: Cybersecghost @.>; Mention @.> Subject: Re: [KevCui/soap2day-dl] Cookie (Issue #13)

Hi @Cybersecghost https://github.com/Cybersecghost , a normal user is enough to run the script, you don't need to use root or sudo, i's also not recommended.

I saw your put script under /opt/. I'd suggest to clone the repo to /home/{your_user_name}/, so that your user has to permission to create .source.html file.

— Reply to this email directly, view it on GitHub https://github.com/KevCui/soap2day-dl/issues/13#issuecomment-1013021117 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPD3QJLTHYMBQAEWYWRLG3UV77HLANCNFSM5LYL65GA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AIPD3QNEJJMNATLWTBUQONDUV77HLA5CNFSM5LYL65GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHRQXTPI.gif Message ID: @. @.> >

cyber-hunt7 commented 2 years ago

Hi, I am still getting issues. I re-download the repo in my root directory.

./soap2day-dl.sh: line 185: /home/ubuntu/soap2day-dl//.source.html: Permission denied

From: K̶e̶v̶i̶n̶ @.> Sent: Friday, January 14, 2022 1:03 PM To: KevCui/soap2day-dl @.> Cc: Cybersecghost @.>; Mention @.> Subject: Re: [KevCui/soap2day-dl] Cookie (Issue #13)

Hi @Cybersecghost https://github.com/Cybersecghost , a normal user is enough to run the script, you don't need to use root or sudo, i's also not recommended.

I saw your put script under /opt/. I'd suggest to clone the repo to /home/{your_user_name}/, so that your user has to permission to create .source.html file.

— Reply to this email directly, view it on GitHub https://github.com/KevCui/soap2day-dl/issues/13#issuecomment-1013021117 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPD3QJLTHYMBQAEWYWRLG3UV77HLANCNFSM5LYL65GA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AIPD3QNEJJMNATLWTBUQONDUV77HLA5CNFSM5LYL65GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHRQXTPI.gif Message ID: @. @.> >

KevCui commented 2 years ago

Ok, seems media name is empty, weird. Would you mind to run script with the flag -d? It will print all debug logs. Paste some logs here and I'll take another look.

Papa-Gandhi commented 2 years ago

Hey Kevin, I tried using the script, I downloaded all the code and dependencies, but I still get this:

./soap2day-dl.sh: line 34: : command not found /usr/bin/chrome [INFO] Fetching cookie... [ERROR] Cannot get cookie. Try again later.

Please help.

KevCui commented 2 years ago

Hi @Papa-Gandhi, it looks like you don't have Chromium or Chrome on your machine, please install one. After that, the script should work.

Papa-Gandhi commented 2 years ago

I do have it, on the raspberry pi

KevCui commented 2 years ago

@Papa-Gandhi Ok, run which chrome in your terminal, see the path? If not, try to put chrome binary in /usr/bin, should work.

Papa-Gandhi commented 2 years ago

it worked, after some coding line 114 should be

echo "/usr/bin/chromium-browser"

instead of

echo "/usr/bin/chrome"

cyber-hunt7 commented 2 years ago

Hi,

I am getting this error now.

tee: /home/ubuntu/soap2day-dl/search.list: Permission denied

From: Papa-Gandhi @.> Sent: Monday, January 24, 2022 4:50 PM To: KevCui/soap2day-dl @.> Cc: Cybersecghost @.>; Mention @.> Subject: Re: [KevCui/soap2day-dl] Cookie (Issue #13)

it worked, after some coding line 114 should be

echo "/usr/bin/chromium-browser"

instead of

echo "/usr/bin/chrome"

— Reply to this email directly, view it on GitHub https://github.com/KevCui/soap2day-dl/issues/13#issuecomment-1020179253 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPD3QJC4EJONPSPXFD5VB3UXVRJJANCNFSM5LYL65GA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AIPD3QJHMZJES6IIWBKMDWLUXVRJJA5CNFSM5LYL65GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHTHLGNI.gif Message ID: @. @.> >

cyber-hunt7 commented 2 years ago

Mine is also working now finally.

I went and change the whole directory permission to chmod a+rwx

From: Papa-Gandhi @.> Sent: Monday, January 24, 2022 4:50 PM To: KevCui/soap2day-dl @.> Cc: Cybersecghost @.>; Mention @.> Subject: Re: [KevCui/soap2day-dl] Cookie (Issue #13)

it worked, after some coding line 114 should be

echo "/usr/bin/chromium-browser"

instead of

echo "/usr/bin/chrome"

— Reply to this email directly, view it on GitHub https://github.com/KevCui/soap2day-dl/issues/13#issuecomment-1020179253 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPD3QJC4EJONPSPXFD5VB3UXVRJJANCNFSM5LYL65GA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AIPD3QJHMZJES6IIWBKMDWLUXVRJJA5CNFSM5LYL65GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHTHLGNI.gif Message ID: @. @.> >

KevCui commented 2 years ago

Hi @Papa-Gandhi, Hi @Cybersecghost, thank you for sharing your solutions! Good to know it works for both of you :)