https://github.com/nerdinand/srf-superleague-scraper
A simple ruby script, that scrapes the srf website to extract the summary-clips of the super league football games.
https://github.com/nerdinand/srf-superleague-scraper
Last synced: 8 months ago
JSON representation
A simple ruby script, that scrapes the srf website to extract the summary-clips of the super league football games.
- Host: GitHub
- URL: https://github.com/nerdinand/srf-superleague-scraper
- Owner: nerdinand
- Created: 2013-02-24T16:13:37.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-02-24T16:24:45.000Z (over 13 years ago)
- Last Synced: 2023-03-11T00:34:14.375Z (over 3 years ago)
- Language: Ruby
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
srf-superleague-scraper
=======================
A simple ruby script, that scrapes the srf website to extract the summary-clips of the super league football games.
Dependencies
============
This script depends on:
* nokogiri gem
* wget
* ffmpeg
Usage
=====
Change the variables season, round and quality to your liking, then run the script. It will create a directory with the season number and download the summary clips of the selected season and round into that directory. In my tests, the akamai CDN that SRF uses, can take quite a while to respond to some of the wget requests. Maybe I also hit some kind of per-IP-limit during testing.
Variables
=========
_season_
The season of the super league you want to download from.
_round_
The round of the super league you want to download the clips from.
_quality_
The video file quality (0 to 2), where 0 is the worst and 2 the best quality.