Skip to content

jwb (E)

vbastianpc edited this page May 10, 2020 · 5 revisions

Smart download of the VIDEOS section of the site JW.ORG (Formerly this section was on the site tv.jw.org)

How to use

python jwb [options] <output dir>

options

  • --category Name of the category or subcategory. Separate them with a comma , if you choose more than one. Some examples:
    • VODChildren All the category Children
    • ChildrenWhiteboard Whiteboard Animations. This is a subcategory of the children category.
    • VODStudio All JW Broadcasting category
    • StudioMonthlyPrograms Monthly Programs
    • StudioTalks Talks
    • VideoOnDemand All categories. Default value

    You can go to the VIDEOS section and click on a category. In the address bar of your browser you will see the name of the main category. If you now click on a video, in the address bar you will see the name of the subcategory.

  • --exclude Excludes category. Separate them with a comma , if you exclude more than one.

  • --lang Language code. If you enter an incorrect language code, the program will show you the valid languages. Some examples are:

    • S Spanish. Default value.
    • E English
    • F French
    • B Czech
    • I Italian
    • T Portuguese (Brazil)
    • SCH Chilean Sign Language
    • ASL American Sign Language
    • LSB Brazilian Sign Language
    • ISL Italian Sign Language
  • --quality Video quality

    • 720 Default value
    • 480
    • 360
    • 240
  • --since Search for videos newer than the indicated date. Date format YYYY-MM-DD

  • --subtitles-only Searches only for the subtitle file, if available.

  • --burned-subtitles Preference to videos with subtitles burned. (In the past videos like this were made. Now subtitles come attached in the video, allowing them to be activated or deactivated)

  • --latest Searches for the most recent video of the selected category.

  • --no-download Do not download anything. Simply display the videos found on the screen. Useful for testing.

  • --limit-rate Download speed limit. By default it has a low value so as not to overload the 1M servers (1 megabyte). 0 not to set a limit. Write a number followed by the corresponding suffix.

    • K kilobyte
    • M megabyte

output dir

Required. Directory where the publications will be downloaded. Drag and drop the folder into the command prompt.

Examples

  • Download all videos of Monthly Programs since January 2019 in Spanish.

    python jwb --since 2019-01-01 --category StudioMonthlyPrograms "C:\My Downloads"


  • Download all videos in the Children category excluding those in the Whiteboard Animations subcategory in Czech.

    python jwb --lang B --category VODChildren --exclude ChildrenWhiteboard "C:\My Downloads"


  • Download only subtitle files of the Talks category      python jwb --category StudioTalks --subtitles-only "C:\My Downloads"

  • Show the list of videos of the 2018 Convention

    python jwb --category 2018Convention --no-download .

Clone this wiki locally