Skip to content

📺 Command line utility to search for and download from the ARD mediathek

License

Notifications You must be signed in to change notification settings

SoMuchForSubtlety/mediathek-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mediathek-scraper

Command line utility to search for and download from the ARD mediathek.
youtube-dl needs to be installed for downloading to work.

Flags:

Mandatory:

  -search string
        the term to search for

Optional:

  -download
        download the search results
  -path string
        the location to save the downloaded files (default is in the current directory)
  -workers int
        the maximum number of parallel downloads (default 1)
  -maxduration int
        the maximum duration (in seconds) for a VOD to be considured
  -minduration int
        the minimum duration (in seconds) for a VOD to be considured
  -regex string
        regular expression that needs to be matched by the title of a VOD to be considured

Example usage:

$ mediathek-scraper -search "Tatort" -minduration 1200 -regex "^Tatort:[^-(]*$" -download -path "downloads/" -workers 3

search for "Tatort"
-search "Tatort"
set the minimum duration to 20 minutes (20*60 seconds)
-minduration 1200
limit the results to titles that match the regex ^Tatort:[^-(]*$
-regex "^Tatort:[^-(]*$"
enable downloading
-download
save downloads to the directory "downloads"
-path "downloads/"
allow a maximum of 3 dowloads at once
-workers 3

About

📺 Command line utility to search for and download from the ARD mediathek

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages