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

1059 Commits

Author SHA1 Message Date
Johan Andersson
086ae79482 svtplay: this need to be text 2015-09-01 23:53:13 +02:00
Johan Andersson
83fecfb6be tv4play: json need to be text 2015-09-01 23:52:16 +02:00
Johan Andersson
b3cd0ad586 viaplay: json need to be text 2015-09-01 23:52:00 +02:00
Johan Andersson
469e243361 kanal5: adding support for all episodes
this fixes #81
2015-09-01 23:44:57 +02:00
Johan Andersson
614c9b8ae5 subtitle_wsrt: decode html entities
fixes #255
2015-09-01 22:54:32 +02:00
Johan Andersson
028754606b qbrick: di dont use qbrick anymore 2015-09-01 00:37:32 +02:00
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
6883f31550 subtitle: python3 fixes 2015-08-31 23:19:01 +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
724af70f49 subtitle: open as text and save it 2015-08-31 22:46:45 +02:00
Johan Andersson
c4cb752401 init: requests fixes 2015-08-31 22:26:19 +02:00
Johan Andersson
f30a782739 init: remove unused import 2015-08-31 22:26:04 +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
dc76094369 hls: remove unused imports 2015-08-31 20:35:37 +02:00
Johan Andersson
06472b5012 utils: remove unused imports 2015-08-31 20:35:23 +02:00
Johan Andersson
ea70ec30bf urllib: remove unused imports 2015-08-31 20:35:05 +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
9394f03251 http: remove unused imports 2015-08-30 14:42:29 +02:00
Johan Andersson
a0f0b192e2 http: use requests 2015-08-30 14:41:59 +02:00
Johan Andersson
fb7d4dd1b9 vimeo: we need the content to look at it 2015-08-30 14:41:19 +02:00
Johan Andersson
a1e987348d download_thumbernail: use request instead 2015-08-30 12:04:49 +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
f416a17572 ensure_unicode: remove extra space 2015-08-30 00:08:24 +02:00
Johan Andersson
84ee181f5b adding request support.
still need some more work
2015-08-30 00:06:20 +02:00
Johan Andersson
b47f3f8601 Prepare for release 0.10.2015.08.24 2015-08-24 23:06:41 +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
Olof Johansson
56274ec64e build: Avoid using non-portable install -D
The following error was reported when trying to build on OSX:

 install: illegal option -- D

We now instead create the directories in a first, and copy in a second
step.
2015-07-26 12:48:23 +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
86d17b5d20 Merge pull request #239 from olof/topic/reproducibility
Two reproducible build issues
2015-06-14 20:25:39 +02:00
Johan Andersson
63eee40e49 subtitle_wrst: check against int instead of str
this fixes #240
2015-06-07 20:10:36 +02:00
Olof Johansson
352fd90e51 build: Truncate timestamps in zip archive
Even though zip's -X flag suggests that it removes timestamps, that's not
quite true. There's still modification times per file, and that introduces
non-determinism that are hard to notice, since the mtimes are unlikely to
change without changes to the files. Only when doing a new clone/unpacking
a tar ball under some circumstances or similar action that resets/discards
the mtimes, we would notice.

So, the -X is not enough, and from what I can tell, there's no way of
telling zip to not include timestamps (or truncate them). With this
change, we stage all files in a temporary .build directory, and set the
mtime manually to the beginning of time (as is the case for zip files:
1980-01-01T00:00). These timestamps should not be important to anyone,
since they are all presented to the user as a blob.

The rationale for this change is that this makes it possible to build
svtplay-dl reproducibly. And it also removes the pesky svtplay-dl diffs
just from regenerating the executable.
2015-05-30 13:58:30 +02:00
Johan Andersson
0006eeea58 Prepare for release 0.10.2015.05.24 2015-05-24 17:31:34 +02:00
Johan Andersson
0259643fbe __init__: unused import 2015-05-24 14:55:45 +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
7950e06e0d smi: check if data is empty 2015-05-01 22:34:02 +02:00
Johan Andersson
4d634dc323 unused import 2015-04-30 11:42:21 +02:00
Johan Andersson
072e4d50c7 filename: it should be latin1 not lain1. 2015-04-30 11:03:52 +02:00
Johan Andersson
5c135d24a4 Move automagic filename thing to output.py 2015-04-30 11:02:18 +02:00
Johan Andersson
07038caa2a get_one_media: don’t try to decode utf8 on filenames on windows
more fixes #233
2015-04-30 10:51:43 +02:00
Johan Andersson
67ad23a8b3 get_one_media: handle international character in output
this fixes #233
2015-04-29 15:06:18 +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
c95c51fa5d subtitle: missing r-prefix 2015-04-28 23:16:44 +02:00
Johan Andersson
7ed21ae16b smi: Handle subtitle that starts direct after the previous one.
this fixes #225
2015-04-28 23:00:24 +02:00
Johan Andersson
26a5db7a6e wrst: don’t encode the data to utf8 on python3 2015-04-28 22:59:07 +02:00
Johan Andersson
679f40cf35 io: use StringIO instead of BytesIO 2015-04-28 22:58:02 +02:00
Johan Andersson
29612f4f11 get_one_media: fixes issues with filenames with “, ‘ and \ in windows
this fixes #230
2015-04-27 22:25:56 +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
1d3f3ac96f Prepare for release 0.10.2015.03.25 2015-03-25 00:17:30 +01:00
Jimmy Axenhus
ae8e768b51 Add a new command line switch --get-url that prints the URL instead. 2015-03-24 21:10:01 +01:00
Olof Johansson
2265d544b9 Synchronize manual with --help text 2015-03-21 18:36:31 +01:00
Johan Andersson
d58ce64ec8 urplay: they updated their site a bit.
this fixes #213
2015-03-21 17:36:15 +01:00
Johan Andersson
e449d8c471 subtitle: py3 fixes 2015-03-12 21:39:36 +01:00
Johan Andersson
abd38b55ea subtitle: smi py3 fixes 2015-03-12 21:33:55 +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
Anders Waldenborg
101354ed7e Add urljoin to svtplay_dl.utils.urllib 2015-03-07 10:42:48 +01:00
Johan Andersson
c5d21de673 dr: subtitle support
this fixes #214
2015-03-01 21:46:22 +01:00
Johan Andersson
ec7356aeea subtitle: rewrite wrst function 2015-03-01 21:44:55 +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
Olof Johansson
87ae56caca Make build reproducible
This change makes zip drop any additional metadata about the file, like access
time. Without this change, you'd get different md5sums every time you build
svtplay-dl --- even though you use the exact same sources.

Credit to the people behind http://reproducible.debian.net/ for inspiration! :)
2015-02-13 23:33:52 +01: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
bcccfd3e86 New version 0.10.2015.01.28 2015-01-28 22:34:42 +01:00
Johan Andersson
91a94f5b6e generic: return None stream when http error. 2015-01-28 21:57:54 +01:00
Johan Andersson
ff3971edec outout: remove a superfluous-parens 2015-01-28 21:02:27 +01:00
Johan Andersson
a1fdefa0ca raw: refactor filename part 2015-01-28 20:57:37 +01:00
Johan Andersson
68854fc53a get_media: they to the same thing so better have fewer lines 2015-01-28 20:50:10 +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
4ae9a99fdc get_media: service_handler need sites 2015-01-28 18:33:15 +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
8f89b00c5e unused imports 2015-01-25 14:41:29 +01:00
Johan Andersson
fd4c5fb385 get_one_media: don’t try to run .find on undefined variable 2015-01-25 13:54:38 +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
6763f33f94 options: if fource-subtitle is set, set subtitle to true. 2015-01-18 16:39:55 +01:00
Johan Andersson
ab3283aace output: extract the filename and add srt file extension to it.
Issue is that when we specify filename with -o the subtitles
is written to that file and later when we want to save the video 
to that file. the file already exists.
2015-01-16 21:58:42 +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
2451e3fc45 New version 0.10.2015.01.05 2015-01-05 22:41:50 +01:00
Johan Andersson
b09b4c17f5 main: --list-quality option 2015-01-05 22:40:40 +01:00
Johan Andersson
0b9eb59d36 main: better help message for -H 2015-01-05 22:00:18 +01:00
Johan Andersson
a84dd4077f pylint fixes 2015-01-05 21:52:34 +01:00
Johan Andersson
f144bfb21f findexpisode: don’t run the second section for .srt files
this fixes: #199
2015-01-01 22:11:27 +01:00
Johan Andersson
6e144ab45d output: more fixes for #140 2014-12-31 19:55:53 +01:00
Johan Andersson
fb31725ccd subtitle: use output function instead of the special one for this class. 2014-12-30 21:20:03 +01:00
Johan Andersson
ec7c4bc7e0 generic: detect aftonbladet videos in iframes. 2014-12-30 21:19:14 +01:00
Johan Andersson
7c6b1c7f23 findexpisode: we want to use this for subtitles also. 2014-12-30 21:18:48 +01:00
Johan Andersson
21cd9efe93 output: no need to get the filename when we already have it in options 2014-12-30 21:18:01 +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
d152e02d06 filenamify: dont remove dot 2014-12-28 13:57:11 +01:00
Johan Andersson
49c2ec070d Makefile: move pylint to lib/Makefile 2014-12-26 02:11:19 +01:00
Johan Andersson
d7d8297811 pylint fixes 2014-12-26 02:04:29 +01:00
Johan Andersson
b2b94bb175 New version 0.10.2014.12.26 2014-12-26 00:41:22 +01:00
Johan Andersson
29e52a4f3c options: don’t start at zero.
this fixes #195
2014-12-26 00:40:14 +01:00
Johan Andersson
e2ba77309c New version 0.10.2014.12.25 2014-12-26 00:00:05 +01:00
Johan Andersson
a9cfc70393 svtplay: don’t try to parse !json data. 2014-12-25 23:57:45 +01:00
Johan Andersson
e53a2741da get_media: do not try to parse episodes when we can’t find any.
this fixes #194
2014-12-25 23:55:53 +01:00
Johan Andersson
7671a26810 get_media: catch urlerror here? 2014-12-25 23:48:34 +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
91370d6a77 http: unused import 2014-12-22 10:14:02 +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
113fbbfd88 option to download last X episodes 2014-12-21 13:01:09 +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
178dea24fd hls: refactor some code 2014-12-20 21:07:55 +01:00
Johan Andersson
72ec064cc3 hls: handle error when getting key 2014-12-20 21:04:37 +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
7d9d2c7680 sami: they started to use : instead of , 2014-12-15 22:19:58 +01:00
Johan Andersson
2aa0fc3e84 tv4play: No need to display a warning message here. 2014-12-15 22:09:27 +01:00
Johan Andersson
a2f66186d4 smi: broken regex is broken. 2014-12-15 22:06:24 +01:00
Johan Andersson
e273fd0abc get_http_data: send postdata in the argument for Request 2014-12-15 12:33:49 +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
e94975b256 subtitle: support for cookies 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
524fe2ce0c subtitle: catch http errors. 2014-11-25 19:03:23 +01:00
Johan Andersson
e1e56773cb get_http_data: remove try-except-clause 2014-11-25 19:03:23 +01:00
Johan Andersson
65143fb9f7 subtitle_json: only convert to utf8 on py2 2014-11-25 19:02:50 +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
db5b7dd15e main: improve quality help text 2014-11-25 14:34:43 +01:00
Johan Andersson
76e6921771 disney: better automagic filename
this fixes #148
2014-11-23 13:04:05 +01:00
Johan Andersson
d836c438b1 subtitle_smi: Empty subtitles.
this fixes #180
2014-11-23 13:04:05 +01:00
Göran Gustafsson
b3811e7409 Menu fix 2014-11-23 10:31:33 +01:00
Johan Andersson
52c3ce8977 New version 0.9.2014.11.16 2014-11-16 22:11:18 +01:00
Johan Andersson
75c508292e kanal5: Send the cookies to subtitle.
super hack workaround for #178
2014-11-16 22:09:16 +01:00
Johan Andersson
ad5399f5de kanal5: proper error message when we try to access premium content 2014-11-16 21:55:54 +01:00
Johan Andersson
12f666b5e6 Forgot r-prefix in re.search 2014-11-09 02:15:43 +01:00
Johan Andersson
9342d0c8bb bigbrother: support for OpenGraphThumbMixin 2014-11-09 02:15:09 +01:00
Johan Andersson
796f649eef viaplay: Unused import 2014-11-09 02:14:31 +01:00
Johan Andersson
c9ba7887b0 HTTP-fetcher: use output filename instead of url 2014-11-08 23:02:40 +01:00
Johan Andersson
c66f6a51e4 disney: Adding support for disney.se
this fixes #148
2014-11-08 23:02:02 +01:00
Johan Andersson
e03e9cfc36 New version 0.9.2014.10.23 2014-10-23 00:06:00 +02:00
Johan Andersson
6a99f32b10 viaplay: they changed the api so things stopped working
this fixes #146
2014-10-23 00:03:14 +02:00
Johan Andersson
72e8a9f484 New version 0.9.2014.10.13 2014-10-13 00:19:26 +02:00
Johan Andersson
f9ab8da8d5 rtmp: need to return nothing when file exists.
this fixes #142
2014-10-13 00:14:31 +02:00
Johan Andersson
dc46471108 get_one_media: Don’t try downloading files when we can’t find any. 2014-10-12 23:53:42 +02:00
Olof Johansson
b59f413a22 Fix syntax error caused be recent change to log fmt 2014-10-12 23:41:44 +02:00
Johan Andersson
0e65654a5a HDS: show an error message when we see DRM files. 2014-10-12 23:31:12 +02:00
Johan Andersson
401bb08a78 hdsparse: in some cases we only have one bootstrap that is shared between all streams 2014-10-12 23:31:12 +02:00
Olof Johansson
e05a7cd211 Get rid of some unnecessary thumbnail related output
Also, this change also makes svtplay-dl print an error if thumbnail was
requested but we write to stdout (--output -).
2014-10-12 21:30:33 +02:00
Olof Johansson
f739faca40 Get rid of some indentation by inverting conditionals 2014-10-12 21:29:04 +02:00
Olof Johansson
fb0168033d Log what protocol/bitrate we selected 2014-10-12 21:27:33 +02:00
Olof Johansson
1796a14007 logging: print log level name first on line when verbose 2014-10-12 21:27:28 +02:00
Olof Johansson
33345d90d1 Raise severity of "file already exists" errors 2014-10-12 21:27:24 +02:00
Olof Johansson
09f2f67b8e Rename tests.utils to tests.subtitle 2014-10-12 21:27:16 +02:00
Johan Andersson
2a472cbf67 main: change help message for resume 2014-10-06 23:04:14 +02:00
Johan Andersson
97e67bc7af aftonbladet: change format again. 2014-10-05 20:44:57 +02:00
Johan Andersson
b567f0b983 aftonbladet: remove old debug data. 2014-09-28 23:33:49 +02:00
Johan Andersson
1ce469e4f0 select_quality: in some cases we don’t know quality and return 0.
because of the 0 we then fail and show and error message when we shouldn’t.
this fixes #133
2014-09-28 23:32:57 +02:00
cybjit
4221a94d10 use log instead of print 2014-09-28 22:56:57 +02:00
cybjit
93a3cdef35 io.IOBase does not have read, file_d is not used 2014-09-28 22:56:52 +02:00
Johan Andersson
ea057fc8fd mtvnn: download the right number of episodes
this fixes #132
2014-09-27 22:53:41 +02:00
Johan Andersson
fdd09734db aftonbladet: support for hls “master” playlist.
this fixes #135
2014-09-27 22:37:12 +02:00
Johan Andersson
619435eff1 get_media: create dir when it does not exists.
if we output to a nonexistent directory, create it.
this fixes #131
2014-09-21 20:30:28 +02:00
Johan Andersson
782ad2854e service: no need to check video streams when we force subtitles 2014-09-21 19:12:17 +02:00
Johan Andersson
f249c3c406 svtplay: fix unboundlocal error for subtitle
this fixes #130
2014-09-21 18:51:26 +02:00
Johan Andersson
09b4a6816e viaplay: Show a error message from the site when we can’t find the id.
this will show two error message but we will fix that later after http-rewrite.
this fixes #129
2014-09-11 23:51:45 +02:00
Johan Andersson
f0a06007c2 viaplay: better regex to find the video id. 2014-09-11 23:51:45 +02:00
Johan Andersson
2ea3a26ffb tv4play: dont urlencode already urlencoded shows names.
this fixes #128
2014-09-06 21:51:02 +02:00
Johan Andersson
3dd251e358 New service bigbrother.se 2014-09-06 11:35:59 +02:00
Olof Johansson
f26573de49 picsearch: add simple "handles url" unit tests 2014-09-04 23:04:25 +02:00
Olof Johansson
e84824ac7d picsearch: supports mobil.dn.se as well 2014-09-04 23:01:44 +02:00
Johan Andersson
ab4a7ee704 hls: start on 1 instead of 0
this fixes #127
2014-09-02 19:54:06 +02:00
Johan Andersson
46d5279bf8 tv4play: check html data before url. 2014-08-31 00:36:19 +02:00
Johan Andersson
cbbe997311 viaplay: check if subtitle is None before yield it.
this fixes #125
2014-08-29 00:11:43 +02:00
Johan Andersson
ef4c79256d New version 0.9.2014.08.28
Way to long since last release..
2014-08-28 19:47:39 +02:00
Johan Andersson
2b12931366 tv4play: parse.query instead of [4] 2014-08-28 16:48:15 +02:00
Johan Andersson
0544b57b77 Break long lines into two lines. 2014-08-28 07:56:47 +02:00
Johan Andersson
0e9d30a359 kanal5: use options.service instead of hardcoded service name in format string. 2014-08-27 22:59:41 +02:00
Johan Andersson
96f5384e77 svtplay: use options.service instead of hardcoded service name in format string. 2014-08-27 22:59:31 +02:00
Johan Andersson
a941b99cd1 tv4play: support for the new output mode 2014-08-27 22:58:37 +02:00
Johan Andersson
86e569ce1b kanal5: support for the new output mode 2014-08-27 22:47:53 +02:00
Johan Andersson
a8c95d455e svtplay: support for the new output mode 2014-08-27 22:41:38 +02:00
Johan Andersson
7f7d79a3db output: Don’t download the file if we already have it for some other fetcher 2014-08-27 22:40:31 +02:00
Johan Andersson
b1473f2eae tests: fix output tests after changed progressbar size. 2014-08-27 19:29:32 +02:00
Johan Andersson
1d222eacc3 progressbar: make it bit smaller.
this should fix #122
2014-08-27 19:29:00 +02:00
Johan Andersson
9b1d2aa657 viaplay: support all characters for rtmp application value
this fixes #123
2014-08-27 15:13:57 +02:00
Johan Andersson
9de3961c0b subtitle: show a warning if subtitle exists. 2014-08-23 13:33:38 +02:00
Johan Andersson
8eec519577 output: make pylint happier. 2014-08-21 22:10:16 +02:00
Johan Andersson
e3f311b0b6 rtmp: removing unused imports. 2014-08-21 21:37:30 +02:00
Johan Andersson
686f5f615a refactor output to its own function
Almost the same code for all the fetchers.
2014-08-20 20:27:45 +02:00
Johan Andersson
79b9c15977 init: removing unused imports. 2014-08-19 15:21:27 +02:00
Johan Andersson
78c5258d23 hbo: better way to detect app and path values 2014-08-19 15:20:50 +02:00
Johan Andersson
187182babe tv4: better detection for HLS streams. 2014-08-18 22:22:03 +02:00
Johan Andersson
a5de20a41d vg: support for vgtv.no 2014-08-18 22:21:44 +02:00
Johan Andersson
8284250df4 service: sort service import list 2014-08-17 10:57:08 +02:00
Johan Andersson
aee8a6ad61 New service vg.no 2014-08-17 10:55:05 +02:00
Johan Andersson
d478dbf563 kanal5: support for kanal11play 2014-08-12 19:57:53 +02:00
Johan Andersson
23d5a45ca7 kanal5: better automagic name 2014-08-12 19:57:03 +02:00
Johan Andersson
951979798d generic: detect embedded aftonbladet videos 2014-08-12 19:08:08 +02:00
Johan Andersson
3f6bd29a13 fetchers: fix a crash on stdout python3 2014-08-12 17:14:12 +02:00
Johan Andersson
4209f14e26 Fixing some more warnings. 2014-08-12 00:15:46 +02:00
Johan Andersson
ec3e8fb131 Fixing some landscape.io warnings 2014-08-12 00:08:51 +02:00