1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00
Commit Graph

171 Commits

Author SHA1 Message Date
Johan Andersson
81c776b94b aftonbladet: get only take 3 arguments. 2013-02-12 18:50:39 +01:00
Mikael Wikström
762cac8084 svtplay: don't crach when using --hls 2013-02-12 18:49:32 +01:00
Olof Johansson
115e795835 Initial work on splitting script to modules
Does not work reliably (downloading SVTPlay videos with HDS may work
if you're lucky).
2013-01-17 00:21:47 +01:00
Johan Andersson
bd0b3eabee Sr: typo in the domainname 2013-01-16 12:22:49 +01:00
Johan Andersson
37d6c75e8e Update README 2013-01-15 18:22:15 +01:00
Johan Andersson
aef318475c kanal9: adding support for kanal5.se 2013-01-15 18:19:03 +01:00
Johan Andersson
7ab00f2d89 options.output failed when the title tag had an attribute 2013-01-15 17:52:04 +01:00
Johan Andersson
e3228813b5 tv4play: crash when there was no subtitle 2013-01-15 17:42:49 +01:00
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