1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-28 06:04:17 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Johan Andersson
0eac2ddb3b tv4play: adding support for HDS 2012-12-23 18:12:23 +01:00
Johan Andersson
eb0b488b10 svtplay: dont crash when it cant find any streams
In some cases we cant download any videos. when they are only
provided for flash users and not iOS users.
2012-12-23 18:04:10 +01:00
Johan Andersson
6e23d6db54 rename logger to log 2012-12-23 18:01:16 +01:00
Markus Helgesson
0f71269e65 Restructure so the script to be included and used from other Python scripts.
* Renamed 'svtplay-dl' to 'svtplay_dl.py' which conforms with the Python
  guidelines and can be imported from other scripts (names with '-' cannot).
* Created the wrapper 'svtplay-dl' for backward compatability.
* Broke out the major parts of main() into get_media()
* New Options class corresponding to the command line parameters.
* Modified how the log used and progress information written so they can be
  easily configured by the caller.
2012-12-23 16:52:07 +01:00