Comments (13)
I guess, since it calls the curl binary, simply removing the -s flag from the curl command would do it? Tell me, why do you want that info? Just nerdy statistics?
from jw-scripts.
from jw-scripts.
from jw-scripts.
So with --progress-bar
as the curl option, we get:
downloading: 502017872_E_cnt_1_r720P.mp4 (Think Past the Drink)
######################################################################## 100.0%
downloading: pk_E_029_r720P.mp4 (Be Humble)
######################################################################## 100.0%
downloading: pkon_E_008_r720P.mp4 (Journey With Jehovah’s Friends)
vs with just removing --silent
_downloading: 502017872_E_cnt_1_r720P.mp4 (Think Past the Drink)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 29.5M 100 29.5M 0 0 2752k 0 0:00:11 0:00:11 --:--:-- 2749k
downloading: pk_E_029_r720P.mp4 (Be Humble)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25.3M 100 25.3M 0 0 2364k 0 0:00:11 0:00:11 --:--:-- 2317k
_
The latter does look a little messy, but I'd be fine with that being a user defined option.
Maybe a --simple-progress and --verbose
from jw-scripts.
While you're on it, does curl have some option of making it look nicer? If not, I'm not sure how this would be done, though I could probably figure something out, I just don't know if it is worth putting down the work...
from jw-scripts.
from jw-scripts.
from jw-scripts.
Thanks for your help. Replying on my phone, I didn't see that you suggested --progress-bar. That is great. I'll toss it in.
from jw-scripts.
from jw-scripts.
from jw-scripts.
Heh, yeah that's some special stuff going on there... The simplest way is using argparse
at the top of jwb-index. The add_arguments
function is just a thing by me to share arguments across the scripts....
I've just pushed a new version with the simplified progress bar on by default in the v1.3-beta branch.
I don't know about having a more verbose output.... Seems too cluttered. If you want to watch your download speed, why not use something like iftop
assuming you're on *nix. Or with your programming skills, just remove --progress-bar
from parse.py
. But that's just my point of view. Do you have better reason?
from jw-scripts.
from jw-scripts.
Ok, great! I'll have to test this some more before pushing it into master.
from jw-scripts.
Related Issues (20)
- UnicodeEncodeError HOT 2
- is it posible to download songs in mp3 format HOT 2
- download experiences audio HOT 3
- Lyrics and lead sheets HOT 1
- JW Broadcasting video bug HOT 5
- Return watching HOT 5
- List languages HOT 3
- Checksums are very slow HOT 8
- possible to get the friendly name ? HOT 3
- Windows: link not working HOT 3
- All videos/media for meeting that week HOT 1
- TypeError on windows 10 HOT 4
- new approach HOT 1
- shuffle all the time HOT 4
- Improving streaming HOT 12
- Not an Issue: Just a windows example HOT 2
- Match subtitle names and add language code to filename HOT 13
- jw-scripts 2.0 survey (I want your brain) HOT 7
- Symlinks are not created correctly HOT 2
- issue with downloading HOT 1
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 jw-scripts.