-
Notifications
You must be signed in to change notification settings - Fork 10
Downloading
Alex edited this page Apr 2, 2021
·
4 revisions
All examples in this section includes the
--latestflag, as not specifying a category will result in a massive download.
To download the latest videos:
jwb-index --latest -d
If you want human readable names:
jwb-index --latest -d --friendly
You can also download .vtt files:
jwb-index --latest --download-subtitles
The download speed is by default throttled to 1 megabyte/s. To change it to 10 MB/s:
jwb-index --latest -d --limit-rate 10
To disable limit:
jwb-index --latest -d --limit-rate 0
I put the limit there so this script won't become such a bandwith hog to jw.org. I don't know if that makes any sense, but at least it feels better in theory.
By default the script only checks the size of downloaded files. You can check MD5 checksums, but that can be quite CPU intensive:
jwb-index --latest -d --checksum
To check all local files and re-download broken or updated ones:
jwb-index --latest -d --checksum --fix-broken