Comments (4)
Can't you achieve the same result by using yes
or yes n
respectively?
while IFS= read -r line; do
yes | ulozto-downloader --auto-captcha --parts 50 $line
done < to_download.txt
from ulozto-downloader.
Possibly (I need to test it) but not in the case of No because after No the script returns exit(1) and it kill the whole loop.
from ulozto-downloader.
Possibly (I need to test it) but not in the case of No because after No the script returns exit(1) and it kill the whole loop.
sys.exit(1)
only means that the script terminates with exit status 1. Why wouldn't it continue with the next loop iteration? That's not how the POSIX shell while loop behaves. yes n | ulozto-downloader ...
should work like a charm.
from ulozto-downloader.
Indeed you are right. I was a little bit confused because if I tried to do it by hand the loops stopped. Thanks.
from ulozto-downloader.
Related Issues (20)
- Nevi nekdo jak fixnout tenhle error? HOT 4
- Version 3.5.1 fails to execute on Linux due to colorama HOT 4
- Still same problem with separator (got an unexpected keyword argument 'separator') HOT 4
- Job terminated by signal SIGILL (Illegal instruction)
- Cloudflare 2 error HOT 2
- Cloudflare version 2 Captcha challenge HOT 20
- [Feature] Dockerization HOT 4
- ERROR: Cannot parse CAPTCHA image URL from the page. Changing Tor circuit. HOT 20
- chyba "Unable to start TOR" HOT 1
- Python Unicode Encoder error with certain character in filename HOT 7
- Error: Error solving the challenge. Timeout after 90.0 seconds. HOT 6
- Error HOT 1
- Specify part size instead of number of parts / Or auto for optimal parts based on filesize and transfer speed
- Blocked TOR exit IP.. get new TOR session HOT 1
- Requests through Tor blocked by CloudFlare HOT 11
- Challenge not detected! HOT 1
- Konec nebo další clona? HOT 10
- Stahování "Dávky" souborů
- TOR get new captcha (timeout 30) (co mám udělat?) HOT 1
- Rip uložto HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulozto-downloader.