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

163 Commits

Author SHA1 Message Date
Johan Andersson
8bb19793fb The old fix didnt work so well on python2. 2013-01-15 17:24:36 +01:00
Johan Andersson
ff73f768f0 tv4play: adding support for tv4.se 2013-01-15 17:20:56 +01:00
Johan Andersson
55782715cb Debug crüft.. 2013-01-14 23:37:10 +01:00
Johan Andersson
5eb0dc0a85 Python3 support for HLS streams. 2013-01-14 23:34:31 +01:00
Johan Andersson
5775317653 Justin: right domain for twitch. 2013-01-14 16:51:27 +01:00
Johan Andersson
96b03b0d7d Introduce .handle function in classes 2013-01-14 16:20:59 +01:00
Johan Andersson
220fa2479d Move code into the classes. 2013-01-14 16:20:59 +01:00
Johan Andersson
3999295024 Merge pull request #19 from antoneliasson/master
Ignore backup copies and compiled Python code in VCS
2013-01-14 07:17:17 -08:00
Anton Eliasson
e9e0705e66 New .gitignore file to make Git ignore backups and compiled Python code
- *~ makes Git ignore backup files created by editors like Emacs and Gedit.
- *.pyc makes Git ignore for example __pycache__/svtplay_dl.cpython-33.pyc
  Since the __pycache__ directory is now considiered empty, it is also ignored.
2013-01-14 16:08:11 +01:00
Johan Andersson
fc1c58acc8 Merge pull request #18 from antoneliasson/master
In method get in class Svtplay: index dict streams by number instead of key for Python 3 compatibility.
2013-01-13 07:56:13 -08:00
Anton Eliasson
4cf75a1b91 In method get in class Svtplay: index dict streams by number
instead of key for Python 3 compatibility.

In Python 2, dict.keys() returned a list but in Python 3 it returns a dict_keys
instance which is not indexable. Details: http://stackoverflow.com/questions/8953627/python-dictionary-keys-error

This patch should be compatible with both Python 2 and 3.
2013-01-13 16:33:53 +01:00
Johan Andersson
b021de9cae svtplay: we can now download all the videos. 2013-01-13 12:54:01 +01:00
Johan Andersson
7fe7d5f321 Cosmetics: whitespaces 2013-01-12 23:07:41 +01:00
Johan Andersson
1209e37616 download_http: forgot a check for options.output 2013-01-12 16:02:57 +01:00
Johan Andersson
101a492cb2 svergiesradio: use options.other 2013-01-12 16:01:00 +01:00
Johan Andersson
242274df0f change the order on download_http 2013-01-12 15:59:51 +01:00
Johan Andersson
5a6e69fffb It should be options.output in get_media 2013-01-12 15:50:00 +01:00
Johan Andersson
39ddc44aca download_hls: adding support for baseurl.
Now ruv can use download_hls instead of download_m3u8
2013-01-12 14:52:35 +01:00
Johan Andersson
2d69eb199a sort the list in README 2013-01-12 14:27:28 +01:00
Johan Andersson
38235afae6 Update sites in README 2013-01-12 14:24:59 +01:00
Johan Andersson
b41f136d29 Adding estimated time to hls and hds. 2013-01-12 14:22:47 +01:00
Johan Andersson
20726dcb54 nrk.no: support for HDS streams. 2013-01-12 14:03:45 +01:00
Johan Andersson
6ff4cb9288 Merge remote-tracking branch 'unayok/master' 2013-01-12 13:55:43 +01:00
Johan Andersson
10a64eb935 tv4play: live was always set 2013-01-11 15:29:05 +01:00
Shawn Sulma
09cb462936 read direct from response streams for m3u8 downloads, add some time remaining estimation 2013-01-10 16:33:32 -05:00
Shawn Sulma
6dd84bfa62 add possibly-naive nrk.no, dr.dk and ruv.is handling (for non-live streams) 2013-01-10 11:57:52 -05:00
Johan Andersson
2651bea602 update the version number. 2012-12-31 09:46:19 +01:00
Johan Andersson
097b407f65 twitch.tv: swf was overwritten. 2012-12-30 12:23:17 +01:00
Johan Andersson
c74d6d15e9 format string fixes. 2012-12-29 21:55:30 +01:00
Johan Andersson
ca083ebe8e Cosmetics 2012-12-29 21:47:34 +01:00
Johan Andersson
975af9b8a3 We only need Crypto for encypted streams 2012-12-29 21:30:12 +01:00
Johan Andersson
09a1552641 forgot to change the arguemnts for download_ 2012-12-29 21:28:15 +01:00
Johan Andersson
0066059396 remove some unused variables 2012-12-29 21:15:53 +01:00
Johan Andersson
681ab6952c Use options instead of init function. 2012-12-29 21:01:57 +01:00
Johan Andersson
66559671b5 Cosmetics 2012-12-28 14:59:34 +01:00
Johan Andersson
68e6e455ad svt.se: merge this into svtplay 2012-12-24 15:58:35 +01:00
Johan Andersson
8c144104cf output: fix so we can see the name again. 2012-12-23 19:35:36 +01:00
Johan Andersson
4ada4c3efb tv4play: add support for live streams 2012-12-23 18:23:49 +01:00
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
Johan Andersson
059d91389a Added MIT license 2012-12-23 15:44:15 +01:00
Johan Andersson
708c0b8de3 Merge branch 'master' of github.com:spaam/svtplay-dl 2012-12-23 15:27:56 +01:00
Johan Andersson
878962186e Merge pull request #16 from olof/topic/progressbar
Print a progressbar when downloading with HDS/HLS
2012-12-23 03:27:16 -08:00
Olof Johansson
a755339fb2 Print a progressbar when downloading with HDS/HLS 2012-12-21 23:28:37 +01:00
Johan Andersson
a3cd7d4966 svtplay: fix a crash when bitrate is not zero 2012-11-23 16:46:54 +01:00
Johan Andersson
51a490274b tv4play: change the .swf file to the right one. 2012-11-10 23:56:06 +01:00
Johan Andersson
ef04b22403 Write an error message for a site that is not suppported. 2012-11-08 21:27:05 +01:00
Johan Andersson
bc41cf1efb Better variable name insted of kalle. 2012-11-08 21:16:50 +01:00