- Notifications
You must be signed in to change notification settings - Fork3
Download videos and lecture attachments from CCC events
License
mfherbst/down-frab-videos
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Download videos and lecture attachments from events managed with thefrab systemor with thepretalx(like the Chaos communication congress, MRMCD, Camp, ...)
By default the most recent, known chaos event is considered and high-qualitywebm
files are downloaded.This can, however, be changed using the--event
and--format
flags respectively.A list of configured events and available formats for a given event can be printed(using flags--list-events
and--list-formats
).For a list of all flags the script understands, try
down-frab-videos --help
When downloading a talk the script will not only download the recording,but also some information from the frab Fahrplan as well.This includes:
- The attached files
- The abstract and summary for the talk
- The list of links and references
In order to download talks, you just need to provide the script with a list of talk ids.You can find the talkid in the url of your webbrowser.For example thefrab page with url ending inevents/8414.html
has the talkid8414
and thepretalx page ending intalk/VHLTSN/
corresponds to talkidVHLTSN
.
You can either list the talkidsline-by-line in a file and hand that file over to the script via the argument--input-file
.For example the file
6258# some crazy comment6450
downloads the talks with IDs6258
and6450
.For downloading only a small number of talks with the script the command line syntax
down-frab-videos 6258 6450
is usually more convenient.
Some of the options configured via the command line can be set more permanently viaa configuration file as well.To get started with this you should dump the defaults using
down-frab-videos --dump-config
This will write a stub config to~/.config/down-frab-videos/config.yaml
.
pip install down-frab-videos
- Python >= 3.5
- Beautiful Soup
- json
- pycountry
- PyYAML
- requests
- subprocess
- textwrap
About
Download videos and lecture attachments from CCC events