Johan Andersson
acf526c54a
Show only one error message instead of two
2015-09-06 14:19:10 +02:00
Johan Andersson
b3cd0ad586
viaplay: json need to be text
2015-09-01 23:52:00 +02:00
Johan Andersson
08f47dcbd5
viaplay: should be text and not binary
2015-08-31 23:18:37 +02:00
Johan Andersson
6cd4e335de
viaplay: remove debug print
2015-08-31 22:25:14 +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
57842a3895
viaplay: request fixes
2015-08-31 17:14:08 +02:00
Johan Andersson
84ee181f5b
adding request support.
...
still need some more work
2015-08-30 00:06:20 +02: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
d7d8297811
pylint fixes
2014-12-26 02:04:29 +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
08e9ca162f
viaplay: format string fixes
2014-12-22 11:01:04 +01:00
Johan Andersson
fe39ba2a82
viaplay: support for downloading lastest X episodes
2014-12-21 13:28:46 +01:00
Johan Andersson
67b3c8bb54
Rewrite http request handling.
2014-12-08 23:07:02 +01:00
Johan Andersson
77525f8092
viaplay: http-rewrite
2014-11-26 16:02:06 +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
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
dde3672966
viaplay: easier to read .endswith instead if len - 3
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
796f649eef
viaplay: Unused import
2014-11-09 02:14:31 +01: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
0e65654a5a
HDS: show an error message when we see DRM files.
2014-10-12 23:31:12 +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
cbbe997311
viaplay: check if subtitle is None before yield it.
...
this fixes #125
2014-08-29 00:11:43 +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
633a2254f0
viaplay: fix a FutureWarning
...
this fixes #120
2014-08-11 19:44:20 +02:00
Johan Andersson
8fd7639b1a
Space after #
2014-07-28 16:01:27 +02:00
Johan Andersson
e1915b6be2
viaplay: skip geoblock check if we see RTMP streams
2014-06-27 10:05:40 +02:00
Johan Andersson
45e847d849
viaplay: dont override live flag
2014-06-26 22:16:18 +02:00
Johan Andersson
e19b9e6316
viaplay: debug lines..
2014-06-26 22:12:16 +02:00
Johan Andersson
115ff10249
viaplay: support for viagame.com
2014-06-26 22:04:34 +02:00
Johan Andersson
9a7378f32d
viaplay: error handling when xml filename is f4m file
2014-06-26 22:04:16 +02:00
Johan Andersson
eb762b8084
viaplay: support for HLS with better quality
2014-06-26 21:52:32 +02:00
Johan Andersson
abaf1e19a9
viaplay: use data-video-id instead of data-emediate-video_id.
...
based on a fix by @magic75 and this fixes #108
2014-06-22 22:46:00 +02:00
Johan Andersson
3f4bdd58d8
service: copy options to fetcher
2014-06-07 20:48:54 +02:00
Johan Andersson
5d46c53d7f
viaplay: check for data-emeidate-video_id first.
2014-06-02 22:13:11 +02:00
Johan Andersson
b8b97d40b4
viaplay: use data-emediate-video_id instead of data-link
2014-06-02 22:11:07 +02:00
Johan Andersson
245f4517fa
viaplay: don’t import hdparse two times.
2014-06-02 21:54:18 +02:00
Johan Andersson
fe463a1567
viaplay: forgot else after that f4m fix.
2014-06-02 21:27:51 +02:00
Johan Andersson
92ef824fef
viaplay: support for hds streams.
2014-06-02 21:27:51 +02:00
Johan Andersson
28bc0f3389
viaplay: yield the subs
2014-06-02 21:27:49 +02:00
Johan Andersson
8fb6f7f15f
viaplay: convert into new video fetcher
2014-06-02 21:27:48 +02:00
Johan Andersson
924cca1380
viaplay: forgot else after that f4m fix.
2014-05-01 17:06:24 +02:00
Johan Andersson
c2a389841f
viaplay: forgot else after that f4m fix.
2014-05-01 17:04:08 +02:00
Johan Andersson
5e47b7bc26
viaplay: support for hds streams.
2014-05-01 16:52:05 +02:00
Johan Andersson
28a1d4deaf
viaplay: move subtitle force thing before download_hds
2014-05-01 16:47:51 +02:00
Johan Andersson
ea45d78dad
viaplay: some of their streams are HDS
...
this fixes #90
2014-05-01 16:44:36 +02:00
Johan Andersson
d1e0757dd4
viaplay: yield the subs
2014-04-27 09:11:57 +02:00
Johan Andersson
e89f69e577
viaplay: convert into new video fetcher
2014-04-27 09:11:56 +02:00
Johan Andersson
051565b2cf
viaplay: support for all episodes
...
This only works for latest season.
2014-03-25 20:21:52 +01:00
Johan Andersson
5e1e6dbbc9
subtitle: a way to download only subtitle.
2014-03-21 21:01:00 +01:00
Johan Andersson
368fa3c7ed
Merge pull request #70 from olof/topic/viaplay_latest_ep_url
...
viaplay: try harder when extracting video IDs
2014-03-09 17:32:27 +01:00
Johan Andersson
e568bef14c
viaplay: this fixes #69 because streams are using non-standard port.
2014-03-09 17:26:40 +01:00
Olof Johansson
58140554c8
viaplay: try harder when extracting video IDs
...
Before this change, the viaplay class would look for the video id only in the
URL. With this change, it will also look for it in the HTML document (after
fetching it) if it isn't in the URL. This makes svtplay-dl able to support
"latest episode" URLs, like:
http://www.viasat4play.no/programmer/viva-la-bam
vs
http://www.viasat4play.no/programmer/viva-la-bam/359853
2014-03-09 16:27:06 +01:00
Johan Andersson
05364d2f08
viaplay: some streams need live flag set
2014-02-05 22:03:16 +01:00
Johan Andersson
3ad91fcdf4
viaplay: support for tvplay.lv
2014-02-05 21:50:31 +01:00
Johan Andersson
16c7240f53
viaplay: print the geolock error message.
2014-02-05 21:46:19 +01:00
Johan Andersson
3d44657775
viaplay: they changed the urls
...
maybe look for a better way to detect the id?
2014-02-05 12:28:10 +01:00
Johan Andersson
fd5801965a
viaplay: support for thumbnail
2014-01-26 01:54:20 +01:00
Anders Waldenborg
9804d80302
Split subtitle getting to separate method
2014-01-25 22:57:50 +01:00
Anders Waldenborg
f331a653b6
Move url to object attribute
2014-01-25 22:57:50 +01:00
Johan Andersson
14b888b09e
viaplay: support for tv[36]play.{dk,no,lv,ee,lt and viasat4play.no
2014-01-16 21:41:59 +01:00
Olof Johansson
9f9bcad0c7
Add default handle method in Service base class
...
The default handle method will look for a supported_domains attribute
(a list), containing the supported domains. The subclassed service
class can of course override this if other means of determining support
is needded.
2014-01-01 16:22:07 +01:00
Johan Andersson
ed7f18b2af
viaplay: they use longer first dirname nowdays
2013-12-25 19:26:40 +01:00
Johan Andersson
af0bfdde00
viaplay: only match numeric id:s
2013-12-22 21:28:42 +01:00
Johan Andersson
27779a62f6
viaplay: support for tv10play.se
2013-09-03 14:48:41 +02:00
Johan Andersson
7ee2dd5c1e
viaplay: new site update.
2013-08-15 14:20:02 +02:00
Johan Andersson
c33541ee87
viaplay: correct url to .swf file
2013-08-10 20:40:08 +02:00
Johan Andersson
b27fb86305
viaplay: support for live streams
2013-08-10 20:38:42 +02:00
Johan Andersson
f7760ee640
Adding missing r prefixes to regex string
2013-05-05 12:57:42 +02:00
Olof Johansson
22d06ba0fe
Disable pylint warning E1103 when using urlparse
...
pylint has issues with urlparse, e.g:
Instance of 'ParseResult' has no 'query' member (but some types could not be inferred)
2013-04-27 13:17:00 +02:00
Olof Johansson
bd1ae14e53
Isolate py3/2.7 conditional imports to own modules
2013-04-21 13:45:43 +02:00
Olof Johansson
e9bd5b8004
Make all services inherit svtplay_dl.service.Service
2013-04-21 13:45:43 +02:00
Johan Andersson
514ed7e546
python3 fixes, urlparse and addinfourl.
2013-04-14 21:26:39 +02:00
Johan Andersson
df70896c84
import subtitle functions
2013-03-24 20:24:08 +01:00
Johan Andersson
cfd20232ab
Rename module from lib/svtplay to lib/svtplay_dl
...
less confusion with the service.
2013-03-17 19:55:19 +01:00