Skip to content

FAZ-paperboy delivers (downloads) your FAZ or F.A.S. newspaper freshly every day as PDF.

Notifications You must be signed in to change notification settings

gmke/FAZ-paperboy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

FAZ-paperboy

FAZ-paperboy is a command line tool to deliver your FAZ or F.A.S. newspaper freshly every day. Its CLI signature is as follows:

$ ./paperboy.py --help
usage: paperboy.py [-h] --user-agent USER_AGENT --output-directory
                   OUTPUT_DIRECTORY --fullname FULLNAME --username USERNAME
                   --password PASSWORD [--cookie-file COOKIE_FILE]
                   [--filename-template FILENAME_TEMPLATE] [--debug]

FAZ-paperboy delivers your FAZ or F.A.S. newspaper freshly every day.

optional arguments:
  -h, --help            show this help message and exit
  --user-agent USER_AGENT, -ua USER_AGENT
                        User agent you want paperboy to use.
  --output-directory OUTPUT_DIRECTORY, -o OUTPUT_DIRECTORY
                        Directory to store the PDFs of the downloaded
                        newspaper issues.
  --fullname FULLNAME, -f FULLNAME
                        Full name of the user as shown when logged in to the
                        profile on https://www.faz.net/mein-faz-net/profil/ -
                        used to check if logged in successfully.
  --username USERNAME, -u USERNAME
                        User name to login at https://faz.net for the e-paper
                        download.
  --password PASSWORD, -p PASSWORD
                        Password for user given by --username.
  --cookie-file COOKIE_FILE, -c COOKIE_FILE
                        File to store the cookies in.
  --filename-template FILENAME_TEMPLATE, -t FILENAME_TEMPLATE
                        Template for the output filenames. By default this is
                        "{isodate}_{orig_newspaper}.pdf". {isodate} is the
                        date in the format YYYY-MM-DD. For the date in the
                        format YYYYMMDD, just use {date}. If you want to use
                        the original filename of the PDFs, you could use
                        "{original}.pdf". For a short version of the newspaper
                        name, there is also {newspaper}.
  --debug, -d           Increase verbosity.

It is written for Python 3.x and requires the modules requests and beautifulsoup4.

Similar Software

About

FAZ-paperboy delivers (downloads) your FAZ or F.A.S. newspaper freshly every day as PDF.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%