This is a hastily coded utility for downloading videos from parlament.hu. Although it doesn't actually download anything, you only get a long list of URLs with the video chunks which you can download however you like.
Why not. But mostly for offline watching or mirroring the downloaded videos. For example I upload them to YouTube.
Download the latest binary from the Releases tab, extract the ZIP somewhere and run it like this:
java -jar parlament-dl.jar [date] [resolution]
The first argument is the date of the video you'd like to download in yyyy-mm-dd
format, eg. 2018-09-17
. You can find the possible dates here. This argument is optional and defaults to today's date, but usually you want to specify this, since most videos are only available the next day.
The second argument is the requested video resolution. Usually there are 4 different resolutions you can choose from: 448x252
, 640x360
, 896x504
and 1280x720
, but not everytime. This argument is also optional, it defaults to 1280x720
.
The application is fairly verbose and outputs log messages and the list of URLs to stdout and errors to stderr. So you probably want to pipe the output to a file like this:
java -jar parlament-dl.jar 2018-09-17 1280x720 >> 2018-09-17_1280x720.txt
You can then import the list of URLs to whatever download manager. After you've downloaded the .ts
files you probably want to concatenate them into a single video file. I use ffmpeg for this purpose.