1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-12-01 07:34:16 +01:00
Commit Graph

564 Commits

Author SHA1 Message Date
Johan Andersson
f01d97df9d dr: use text for json and send the url to the playlist 2015-09-01 00:37:06 +02:00
Johan Andersson
421057194e efn: send the url to the playlist 2015-09-01 00:36:27 +02:00
Johan Andersson
96d2bfd529 expressen: send the url to the playlist 2015-09-01 00:36:01 +02:00
Johan Andersson
21817c58f2 nrk: support for third kind of video 2015-09-01 00:23:19 +02:00
Johan Andersson
729374c94c nrk: support for p3.no 2015-09-01 00:22:51 +02:00
Johan Andersson
b55e5fbb27 picsearch: di.se switched provider 2015-08-31 23:46:17 +02:00
Johan Andersson
b1be0b5d0c picsearch: support for screen9 videos 2015-08-31 23:45:54 +02:00
Johan Andersson
4361254f0c vg: use text instead of bytes 2015-08-31 23:45:28 +02:00
Johan Andersson
08f47dcbd5 viaplay: should be text and not binary 2015-08-31 23:18:37 +02:00
Johan Andersson
665104bec8 urldata: should be text instead of binary 2015-08-31 23:18:18 +02:00
Johan Andersson
270506082d urplay: send the url to the playlist 2015-08-31 23:17:51 +02:00
Johan Andersson
b61b4cdac3 kanal5: open it as text not binary 2015-08-31 22:47:11 +02:00
Johan Andersson
285b01a3b7 mtvnn: import urlparse from the right module 2015-08-31 22:25:37 +02:00
Johan Andersson
6cd4e335de viaplay: remove debug print 2015-08-31 22:25:14 +02:00
Johan Andersson
082f167245 more requests fixes for get_urldata.
dont check the first byte
2015-08-31 22:04:59 +02:00
Johan Andersson
812097b95b tv4play: remove unused imports 2015-08-31 21:54:10 +02:00
Johan Andersson
7922966aff sr: dont look for aria-label when getting the audio info
fixes #258
2015-08-31 20:18:18 +02:00
Johan Andersson
331de0a70f replace self.http.get with our own function with debug info 2015-08-31 19:45:15 +02:00
Johan Andersson
abf29827fb oppetarkiv: request fixes 2015-08-31 17:14:31 +02:00
Johan Andersson
63a59707fe tv4play: request fixes 2015-08-31 17:14:19 +02:00
Johan Andersson
57842a3895 viaplay: request fixes 2015-08-31 17:14:08 +02:00
Johan Andersson
c2ae9e99e7 aftonbladet: request fixes 2015-08-31 17:13:48 +02:00
Johan Andersson
1bd7410cc2 dbtv: send hls url to hlsparse 2015-08-31 16:53:23 +02:00
Johan Andersson
c691aa6ea1 disney: request fixes 2015-08-31 16:51:09 +02:00
Johan Andersson
fb7d4dd1b9 vimeo: we need the content to look at it 2015-08-30 14:41:19 +02:00
Johan Andersson
7115c57e4c generic: request fixes 2015-08-30 12:04:16 +02:00
Johan Andersson
12e85b00ee picsearch: unused import 2015-08-30 12:03:56 +02:00
Johan Andersson
4daf49f84b twitch: more requests fixes 2015-08-30 11:57:45 +02:00
Johan Andersson
d51e513c17 More request fixes 2015-08-30 11:27:31 +02:00
Johan Andersson
1d51ad71f1 kanal5: requests fixes 2015-08-30 10:33:38 +02:00
Johan Andersson
daec9178d8 tv4play: requests fixes 2015-08-30 10:20:47 +02:00
Johan Andersson
84ee181f5b adding request support.
still need some more work
2015-08-30 00:06:20 +02:00
Johan Andersson
5a54105ccc output: use the right slash for the right platform
fixes #251
2015-08-24 23:02:28 +02:00
Johan Andersson
ea014f27d2 svtplay: seperate format and output json. 2015-08-24 23:02:28 +02:00
Olof Johansson
495dc1fcaa twitch: Don't include description in filename
This can easily lead to "IOError: [Errno 36] File name too long"
exceptions.
2015-08-24 18:44:46 +02:00
Olof Johansson
f7b26a5745 Rename Justin to Twitch
Justin has been disbanded for a while.
2015-08-24 18:42:58 +02:00
Johan Andersson
7ea335ec10 service.exclude: don’t crash when using åäö
fixes #245
2015-07-13 19:26:51 +02:00
Johan Andersson
1beebb7bea mtvnn: they changed how the id is present in the text.
fixes #243
2015-07-05 21:51:58 +02:00
Johan Andersson
f3f748dde2 efn: adding support
fixed #242
2015-07-05 21:08:11 +02:00
Johan Andersson
5b015b95c1 oppetarkiv: they changed the links for the videos.
this fixes #238
2015-06-28 16:45:43 +02:00
Johan Andersson
0ee4ef7ce9 justin: unused variable 2015-05-24 14:51:37 +02:00
Johan Andersson
89cf3cad76 tv4play: they changed the order on name and type key.
this fixes #237
2015-05-24 14:27:07 +02:00
Johan Andersson
b0dbe63345 justin: better filenames 2015-05-24 13:59:11 +02:00
Johan Andersson
6f228284cf justin: refactor get function 2015-05-24 12:37:16 +02:00
Johan Andersson
e1100fa7d4 justin: support for the new vod system 2015-05-23 19:18:04 +02:00
Johan Andersson
617edb4d21 urplay: better path for rtmp streams 2015-05-06 10:42:03 +02:00
Johan Andersson
620cbf9b43 urplay: Check how many items we have in subtitles
This fixes #235
2015-05-06 10:33:24 +02:00
Johan Andersson
acb3349591 qbrick: unused import unquote_plus 2015-04-28 23:20:34 +02:00
Johan Andersson
01fee67b88 vg, vimeo: missing newline at the end of file 2015-04-28 23:19:35 +02:00
Johan Andersson
749d00ac82 svtplay: use context instead of statistics for filename 2015-04-16 21:58:48 +02:00
Johan Andersson
bdeea1e130 facebook: better error message 2015-03-31 20:51:13 +02:00
Johan Andersson
6f20126ff7 facebook: support for downloading public videos. 2015-03-31 20:49:08 +02:00
Johan Andersson
d58ce64ec8 urplay: they updated their site a bit.
this fixes #213
2015-03-21 17:36:15 +01:00
Johan Andersson
cd2ef6b403 ruv: leftover debugstuff.. 2015-03-12 19:35:33 +01:00
Johan Andersson
5c6859fdf3 ruv: some files is .mp4 files instead of .m3u8
this fixes #218
2015-03-08 14:56:04 +01:00
Johan Andersson
70ef4a30a5 qbrick: sydsvenskan is not supported anymore
fixes #216
2015-03-08 14:46:27 +01:00
Johan Andersson
fce27d5736 svtplay: Grab all episodes from the new program page.
fixes #216
2015-03-08 00:44:26 +01:00
Anders Waldenborg
371e06f6cf ur.se: Add scraping for all episodes if rss doesn't exist
Example: http://www.ur.se/Produkter/178229-Vilda-djur-Trana
2015-03-07 10:46:01 +01:00
Johan Andersson
c5d21de673 dr: subtitle support
this fixes #214
2015-03-01 21:46:22 +01:00
Johan Andersson
3821481322 aftonbladet: support for the new design 2015-02-17 13:41:26 -08:00
Johan Andersson
1e501bc7b9 aftonbladet: check if we got any streams or not 2015-02-17 13:41:25 -08:00
Johan Andersson
72f04e3b47 svtplay: don’t crash when we can’t get any HLS streams 2015-02-01 09:09:37 +01:00
Johan Andersson
91a94f5b6e generic: return None stream when http error. 2015-01-28 21:57:54 +01:00
Johan Andersson
a1fdefa0ca raw: refactor filename part 2015-01-28 20:57:37 +01:00
Johan Andersson
cc72aa341a Handle raw .m3u8 and .f4m links better. 2015-01-28 19:00:31 +01:00
Johan Andersson
15b3909035 raw: handle directories better 2015-01-28 18:58:38 +01:00
Johan Andersson
f3c733bb56 Move sites variable to root dir to fix cyclic import. 2015-01-28 18:26:50 +01:00
Johan Andersson
2a8ecf1106 raw: output to directory 2015-01-25 13:53:47 +01:00
Johan Andersson
d38992af51 tv4play: support for finding video in go:video 2015-01-20 13:12:47 +01:00
Johan Andersson
f0d75a0a7b tv4play: move finding video id part into its own function 2015-01-20 13:10:35 +01:00
Johan Andersson
7b0ff9437e service: support for HDS and HLS stream playlists.
this fixes #201
2015-01-18 18:05:35 +01:00
Johan Andersson
6a374ffa06 Move hdcore check to utils/get_http_data 2015-01-18 18:01:41 +01:00
Johan Andersson
723b7df1c8 viaplay: don’t try to yield empty streams 2015-01-16 21:18:54 +01:00
Johan Andersson
2a941a6cce sr: dived the quality with 1000 2015-01-16 21:15:05 +01:00
Johan Andersson
a84dd4077f pylint fixes 2015-01-05 21:52:34 +01:00
Johan Andersson
ec7c4bc7e0 generic: detect aftonbladet videos in iframes. 2014-12-30 21:19:14 +01:00
Johan Andersson
60d2a01f16 svtplay: add leading 0 in episodes <10 2014-12-29 20:02:49 +01:00
Johan Andersson
9c9d99a035 svtplay: two digits for season number 2014-12-28 16:08:50 +01:00
Johan Andersson
6561f06fb3 svtplay: this is already on False 2014-12-28 15:23:54 +01:00
Johan Andersson
5893ffd44b svtplay: support for öppetarkiv
this will only work with those with episodes in the name.

this fixes #140
2014-12-28 14:33:25 +01:00
Johan Andersson
008d05d2c1 svtplay: remove arkiv from the filename 2014-12-28 14:18:16 +01:00
Johan Andersson
4519897cfe svtplay: Add season and episode info in the filename 2014-12-28 13:57:50 +01:00
Johan Andersson
d7d8297811 pylint fixes 2014-12-26 02:04:29 +01:00
Johan Andersson
a9cfc70393 svtplay: don’t try to parse !json data. 2014-12-25 23:57:45 +01:00
Johan Andersson
bbbd779282 service.exclude: check options.exclude is not empty 2014-12-22 18:35:58 +01:00
Johan Andersson
f5eb3c8749 Support for exclude filenames with WORD in them.
this fixes #190
2014-12-22 17:41:40 +01:00
Johan Andersson
46eb879ed4 viaplay: support for alternative subtitles
this fixes #193
2014-12-22 15:30:32 +01:00
Johan Andersson
282a9cd273 mtvservices: data input to re.search 2014-12-22 11:02:28 +01:00
Johan Andersson
3fa00d18be Handle error from get_http_data 2014-12-22 11:02:03 +01:00
Johan Andersson
08e9ca162f viaplay: format string fixes 2014-12-22 11:01:04 +01:00
Johan Andersson
dd67734fb4 generic: better way to detect embedded svtplay 2014-12-22 10:39:51 +01:00
Johan Andersson
ef3890d9ec missing r prefix in regex matches. 2014-12-22 10:20:37 +01:00
Johan Andersson
71c29c1a02 radioplay: forgot data input in re.search 2014-12-22 10:17:14 +01:00
Johan Andersson
6edeb93400 picsearch: bad indentation. 2014-12-22 10:15:24 +01:00
Johan Andersson
063242b365 svtplay: subtitles didn’t get the right filename 2014-12-22 10:04:32 +01:00
Johan Andersson
dde85fb7fb urplay: support for downloading lastest X episodes 2014-12-21 13:45:44 +01:00
Johan Andersson
fe39ba2a82 viaplay: support for downloading lastest X episodes 2014-12-21 13:28:46 +01:00
Johan Andersson
86a638b029 mtvnn: support for downloading lastest X episodes 2014-12-21 13:16:05 +01:00
Johan Andersson
64d90eb369 öppetarkiv: support for downloading lastest X episodes 2014-12-21 13:10:26 +01:00
Johan Andersson
e882b59635 svtplay: support for downloading lastest X episodes 2014-12-21 13:01:51 +01:00
Johan Andersson
48dd670625 tv4play: support for downloading lastest X episodes 2014-12-21 13:01:28 +01:00
Johan Andersson
9eaf758f02 tv4play: latest first 2014-12-21 12:27:16 +01:00
Johan Andersson
0fa4f8f7c2 tv4play: send the cookies to get the video info for hls streams 2014-12-20 23:00:35 +01:00
Johan Andersson
d8978edbc2 tv4play: Look for rtmp in scheme
Sometimes when you login you have rtmpe streams
instead of rtmp.
2014-12-20 23:00:06 +01:00
Johan Andersson
9f0587a68c disney: grab the right video when fragment is available. 2014-12-20 22:23:41 +01:00
Johan Andersson
a2e430b699 tv4play: Sometimes the value of days is None. 2014-12-18 14:12:10 +01:00
Johan Andersson
efd7f46d98 youplay: support for youplay and affarsvarlden.se 2014-12-18 00:08:31 +01:00
Johan Andersson
d341782100 picsearch: don’t try to parse rtmp with hds 2014-12-17 21:06:08 +01:00
Johan Andersson
cecbcda162 svtplay_dl: we want to see the data not the error code.. 2014-12-17 21:05:34 +01:00
Johan Andersson
2aa0fc3e84 tv4play: No need to display a warning message here. 2014-12-15 22:09:27 +01:00
Johan Andersson
fae2ac28ea tv4play: support for users 2014-12-15 00:32:41 +01:00
Johan Andersson
80236561d9 generic: catch the error code from get_http_data 2014-12-12 16:22:29 +01:00
Johan Andersson
67b3c8bb54 Rewrite http request handling. 2014-12-08 23:07:02 +01:00
Johan Andersson
8e4a428543 picsearch: import hds and hdsparse. 2014-12-03 17:49:15 +01:00
Johan Andersson
5bfd1fb736 picsearch: support for hds streams. 2014-12-03 17:48:30 +01:00
Johan Andersson
167175e224 tv4play: better way to find “?” 2014-12-03 17:47:41 +01:00
Johan Andersson
06467d5bab svtplay: Check suburl instead of subtitle 2014-11-28 23:44:05 +01:00
Johan Andersson
b540fb8992 svtplay: Better error message 2014-11-26 16:12:39 +01:00
Johan Andersson
be75c47419 svtplay: http-rewrite 2014-11-26 16:03:34 +01:00
Johan Andersson
77525f8092 viaplay: http-rewrite 2014-11-26 16:02:06 +01:00
Johan Andersson
9895420e2d vimeo: http-rewrite 2014-11-26 16:01:54 +01:00
Johan Andersson
b09629fcc8 vg: http-rewrite 2014-11-26 16:01:45 +01:00
Johan Andersson
f16cd55f3e urplay: http-rewrite 2014-11-26 16:01:30 +01:00
Johan Andersson
3d2497e3ab tv4play: http-rewrite 2014-11-26 16:01:20 +01:00
Johan Andersson
5e85a6c17c sr: semibetter error message 2014-11-26 16:00:56 +01:00
Johan Andersson
ea0cdad42b ruv: http-rewrite 2014-11-26 16:00:28 +01:00
Johan Andersson
bbba883570 radioplay: http-rewrite 2014-11-26 16:00:21 +01:00
Johan Andersson
6f12640e1e qbrick: http-rewrite 2014-11-26 16:00:11 +01:00
Johan Andersson
23220639bb picsearch: http-rewrite 2014-11-26 15:59:57 +01:00
Johan Andersson
d9fb6ebc60 nrk: http-rewrite 2014-11-26 15:59:38 +01:00
Johan Andersson
3bb83f7cbe mtvnn: http-rewrite 2014-11-26 15:59:16 +01:00
Johan Andersson
1cd3f77912 lemonwhale: had some issues with some videos 2014-11-26 15:46:31 +01:00
Johan Andersson
3ba343b479 Try and catch some http errors. 2014-11-25 23:20:14 +01:00
Johan Andersson
75972511fe tv4play: remove one space. 2014-11-25 21:48:08 +01:00
Johan Andersson
75fe876c90 svtplay: unused subtitle variable 2014-11-25 21:47:49 +01:00
Johan Andersson
cd9cc95dfa Remove unused import sys. 2014-11-25 21:47:29 +01:00
Johan Andersson
0f93c5c1ce Return instead of sys.exit 2014-11-25 21:46:33 +01:00
Johan Andersson
adc39782d7 kanal5: move down subtitle after automagicfilename 2014-11-25 21:34:46 +01:00
Johan Andersson
66c394cca1 kanal5: save cookies to options 2014-11-25 19:03:24 +01:00
Johan Andersson
fa6a4c61d2 viaplay: better error messages 2014-11-25 19:03:24 +01:00
Johan Andersson
b505a03d3c service: replace sys.exit with return 2014-11-25 19:03:24 +01:00
Johan Andersson
9624fbdcaf svtplay: just return if we can’t find any video. 2014-11-25 19:03:24 +01:00
Johan Andersson
8f30de9a85 tv4play: better error message 2014-11-25 19:03:24 +01:00
Johan Andersson
8ceb3ea56d More rewrite 2014-11-25 19:03:24 +01:00
Johan Andersson
dde3672966 viaplay: easier to read .endswith instead if len - 3 2014-11-25 19:03:23 +01:00
Johan Andersson
8cb76b98f5 tv4play: convert it to http rewrite. 2014-11-25 19:03:23 +01:00
Johan Andersson
dcc1367250 subtitle: refactor so we can reuse the try-except-thing 2014-11-25 19:03:23 +01:00
Johan Andersson
b83f001f6f kanal5: bogus cookie thing is not needed. 2014-11-25 18:52:59 +01:00
Johan Andersson
f85840e502 kanal5: remove unused import 2014-11-25 17:07:45 +01:00
Johan Andersson
76e6921771 disney: better automagic filename
this fixes #148
2014-11-23 13:04:05 +01:00