Skip to content

jw pub (E)

vbastianpc edited this page May 10, 2020 · 7 revisions

Manage smart downloads of publications in pdf, mp3, epub, rtf, zip, m4v or mp4 format from the site JW.ORG.

Smart? Yes. If you had a publication and try to download it again, it just won't download. And if you had an old version, it will be replaced by the new one.

How to use

python jw-pub <pub> [options] <output dir>

pub

Required. Publication code, for example:

  • ia Examples of faith

  • fg Good news

  • wp201901 The Watchtower (ed. for the public) No. 1, 2019 (January)

  • w201909 The Watchtower (studio ed.) September 2019

  • g201903 Awake! No. 1, 2019 (March)

You can find more publication codes at WOL

options

  • --type Format type. Valid options:

    • video mp4, m4v. Default.
    • audio mp3
    • pdf pdf
    • epub + zip epub
    • rtf Rich text file
    • zip This option is a box of surprises. You can find audio, video, epub, braile, etc.
  • --lang Language code. Some examples are:

    • S Spanish. Default.
    • 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
  • --no-download Do not download anything. Only parse chosen publications

  • --quality It makes sense if you use it in combination with --type video

    • 720 Default.
    • 480
    • 360
    • 240
  • --book Book number. Default 0. If you use it in combination with the Bible (nwt or bi12), you select a specific book.

output dir

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

Examples

  • Download all the videos of the Bible in Chilean sign language in 720p quality.

    python jw-pub nwt --lang SCH "C:\My Downloads"


  • Download videos from the Marcos book in Chilean sign language in 720p quality.

    python jw-pub nwt --lang SCH --book 41 "C:\My Downloads\"


  • Download the brochure Good news in Spanish in pdf format.

    python jw-pub fg --type pdf "C:\My Downloads\"


  • Download the Watchtower audios (studio ed.) Of October 2019 in English.

    python jw-pub w201910 --lang E --type audio "C:\My Downloads"

Clone this wiki locally