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

1 Commits

Author SHA1 Message Date
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