KevCui / soaper-dl

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

Broken #4

Closed atlcell closed 3 years ago

atlcell commented 3 years ago

This is Broken

After installing all packages and running the script, nothing is outputted into the console

no errors, no warnings, nothing

just nothing, no feedback from the script

KevCui commented 3 years ago

Hi @atlcell, could you try to run script with bash -x in front of your command, like: bash -x ./soap2day-dl.sh. This will display all logs for further debugging.

atlcell commented 3 years ago
Macs-Air:soap2day-dl mac$ bash -x ./soap2day-dl.sh
+ set -e
+ set -u
+ [[ ./soap2day-dl.sh == \.\/\s\o\a\p\2\d\a\y\-\d\l\.\s\h ]]
+ main
+ set_args
+ expr '' : '.*--help'
+ getopts :hlsn:p:e: opt
+ set_var
++ command -v curl
+ _CURL=/usr/bin/curl
++ command -v jq
+ _JQ=

Screen Shot 2021-06-08 at 3 17 46 AM

KevCui commented 3 years ago

Hi @atlcell,

The log shows that jq is missing on your machine, you could find info here to install it https://stedolan.github.io/jq/download/

atlcell commented 3 years ago

installing with brew now, hold on

atlcell commented 3 years ago

still doesn't work, same output - nothing. jq has been installed, its a json tool

Screen Shot 2021-06-08 at 3 23 38 AM

==> Installing jq dependency: oniguruma
==> Pouring oniguruma--6.9.7.1.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/oniguruma/6.9.7.1: 14 files, 1.4MB
==> Installing jq
==> Pouring jq--1.6.mojave.bottle.1.tar.gz
🍺  /usr/local/Cellar/jq/1.6: 18 files, 1MB
Macs-Air:soap2day-dl mac$ npm i puppeteer-core puppeteer-extra puppeteer-extra-plugin-stealth commander
Macs-Air:soap2day-dl mac$ ./soap2day-dl.sh
Macs-Air:soap2day-dl mac$ bash -x ./soap2day-dl.sh
+ set -e
+ set -u
+ [[ ./soap2day-dl.sh == \.\/\s\o\a\p\2\d\a\y\-\d\l\.\s\h ]]
+ main
+ set_args
+ expr '' : '.*--help'
+ getopts :hlsn:p:e: opt
+ set_var
++ command -v curl
+ _CURL=/usr/bin/curl
++ command -v jq
+ _JQ=/usr/local/bin/jq
++ command -v pup
+ _PUP=
Macs-Air:soap2day-dl mac$
atlcell commented 3 years ago

do I need PUP? what is pup?

atlcell commented 3 years ago

I've installed pup

again, nothing

atlcell commented 3 years ago

'pup' is either stableware or abandonware

atlcell commented 3 years ago

@KevCui is this script actually still works for you, it would be great if you update it/troubleshoot with me some more

KevCui commented 3 years ago

Hi @atlcell it does work for me. What's your current problem? If you share me some logs, I may help you troubleshooting.

KevCui commented 3 years ago

Hi @atlcell, I made some changes in the script to better support MacOS, also added guide how to "add Chrome alias" in README.md. Hope this will work for you.