dalgr
f73f5d0b81
fix hls live download for tv4,sjuan,tv12
2018-01-15 22:16:07 +01:00
dalgr
b8dfbd1e3a
proof of concept, tv4play live
2018-01-15 00:37:18 +01:00
dalgr
892b738bcb
Change to use Unicode strings in 'tv4play.py'
2017-10-19 20:10:19 +02:00
dalgr
908b4ec313
more code cleanup
...
cleanup
2017-10-09 20:33:11 +02:00
dalgr
2adcdcd8ef
simplify and cleanup code
2017-10-09 20:33:11 +02:00
dalgr
493b01a856
fix error msg formating
2017-10-09 20:33:11 +02:00
dalgr
3fc3fbc9ef
change str formating from '%s' to '.format'
2017-10-09 20:33:11 +02:00
Johan Andersson
983d2f78e5
tv4play: use webvtt instead of smi files.
...
fixes #631
2017-09-17 11:20:31 +02:00
Johan Andersson
c5e6be02e6
tv4play: fix auto naming for latest version of the site
2017-09-12 12:33:58 +02:00
Johan Andersson
44623376e6
tv4play: find id of the video
...
fixes #674
2017-09-12 12:33:58 +02:00
Johan Andersson
bccfc1fa3a
tv4play: in some cases we dont have episode info
2017-05-01 22:04:57 +02:00
qnorsten
c8525f3a22
TV4play: remove login functionality
...
Tv4play has changed their login forms and as all premium content has moved to cmore.se login functionality is no longer needed and therefore removed.
2017-04-21 18:18:29 +02:00
Mikael Larsson
c4b4ab5bef
tv4play: Add season and episode info in the filename
2017-02-21 00:02:21 +01:00
Johan Andersson
de055b885b
tv4play: don’t try to access vod when its live
...
fixes : #506
2016-12-05 22:09:20 +01:00
Sopor
ee67996d1c
tv4play: changed where to find the hls videos
...
fixes : #498
2016-11-10 08:32:29 +01:00
Johan Andersson
41e5d8ef31
tv4play: don’t crash if we can’t find any streams
...
fixes #495
2016-11-06 12:58:06 +01:00
Johan Andersson
7c7542e709
tv4play: they changed the url for login
...
fixes #489
2016-10-31 19:30:28 +01:00
Johan Andersson
eeb589188c
tv4play: better error message when we can’t decode json
2016-10-31 19:28:00 +01:00
Johan Andersson
87d2b41a74
tv4play: fix login issue with latest update
...
fixes : #425
2016-08-20 12:46:54 +02:00
Johan Andersson
fa730a5564
remove options in argument for exclude
2016-05-14 22:54:30 +02:00
Johan Andersson
5cf6e0fe45
tv4play: free videos with premuim showed up as None
2016-04-30 14:10:43 +02:00
Johan Andersson
03a6307f38
tv4play: fix unicode errors in showname
...
fixes : #336
2016-04-30 13:54:26 +02:00
Johan Andersson
e5059afb7a
tv4play: add client to post data
2016-04-19 21:58:11 +02:00
Johan Andersson
6d79ce9c04
tv4play: new url for login
2016-04-19 21:06:51 +02:00
Johan Andersson
1627abc956
tv4play: show an error message when the video is not there
2016-03-27 13:02:49 +02:00
Johan Andersson
ab3646e4e2
tv4play: dont encode the showname
2016-03-20 19:15:51 +01:00
Johan Andersson
67fa41fcc5
tv4play: they change the name from user_name to username
2016-03-20 18:40:24 +01:00
Johan Andersson
260bd6c5c6
tv4play: wrong user/passwd crashes the script.
...
exception handling cant handle unicode on py2
2016-03-20 18:35:53 +01:00
Johan Andersson
219a134069
tv4play: dont quote unicode strings
...
fixes #336
2016-01-27 19:28:37 +01:00
Johan Andersson
1481e7effd
tv4play: fix so we can download normal shows again
...
fixes #320
2016-01-03 15:10:24 +01:00
Johan Andersson
b5ea350c0f
Move options to when we init the service class
2015-12-26 11:46:14 +01:00
Johan Andersson
7dea8c80ba
tv4play: detect which program the video belongs too.
...
fixes #313
2015-12-15 00:43:44 +01:00
Johan Andersson
d0e6d8584c
tv4play: find id for clips too
...
fixes #313
2015-12-15 00:30:40 +01:00
Björn Dahlgren
4d972063d2
Fixed TV4Play geoblock error text
...
Fixes : #308
2015-11-23 18:54:07 +01:00
Johan Andersson
a798a2b8ba
tv4play: forgot to set the show name in find_all_episodes
...
fixes #280
2015-10-19 10:37:15 +02:00
Johan Andersson
917f276e41
tv4play: better names for automagicnames
...
this fixes #276
2015-10-07 19:52:37 +02:00
Johan Andersson
d4afbd778b
tv4play: dont use directory twice in output filename
...
it happens when the output is an directory
2015-10-05 20:27:45 +02:00
Johan Andersson
e6baf3e4da
tv4play: Support downloading all premium videos
...
this fixes #275
2015-10-05 19:43:57 +02:00
Johan Andersson
fa05480327
reorder arguments for hlsparse and hdsparse
2015-10-04 14:37:16 +02:00
Johan Andersson
dc2cc0294c
pip8. expected 2 lines found 1
2015-09-15 20:10:32 +02:00
Johan Andersson
1e6de72d64
Better excluding message
...
fixing #198
2015-09-06 23:04:48 +02:00
Johan Andersson
acf526c54a
Show only one error message instead of two
2015-09-06 14:19:10 +02:00
Johan Andersson
83fecfb6be
tv4play: json need to be text
2015-09-01 23:52:16 +02:00
Johan Andersson
812097b95b
tv4play: remove unused imports
2015-08-31 21:54:10 +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
63a59707fe
tv4play: request fixes
2015-08-31 17:14:19 +02:00
Johan Andersson
d51e513c17
More request fixes
2015-08-30 11:27:31 +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
89cf3cad76
tv4play: they changed the order on name and type key.
...
this fixes #237
2015-05-24 14:27:07 +02: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
6a374ffa06
Move hdcore check to utils/get_http_data
2015-01-18 18:01:41 +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
3fa00d18be
Handle error from get_http_data
2014-12-22 11:02:03 +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
a2e430b699
tv4play: Sometimes the value of days is None.
2014-12-18 14:12:10 +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
67b3c8bb54
Rewrite http request handling.
2014-12-08 23:07:02 +01:00
Johan Andersson
167175e224
tv4play: better way to find “?”
2014-12-03 17:47:41 +01:00
Johan Andersson
3d2497e3ab
tv4play: http-rewrite
2014-11-26 16:01:20 +01:00
Johan Andersson
75972511fe
tv4play: remove one space.
2014-11-25 21:48:08 +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
b505a03d3c
service: replace sys.exit with return
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
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
0e65654a5a
HDS: show an error message when we see DRM files.
2014-10-12 23:31:12 +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
46d5279bf8
tv4play: check html data before url.
2014-08-31 00:36:19 +02:00
Johan Andersson
2b12931366
tv4play: parse.query instead of [4]
2014-08-28 16:48:15 +02:00
Johan Andersson
a941b99cd1
tv4play: support for the new output mode
2014-08-27 22:58:37 +02:00
Johan Andersson
187182babe
tv4: better detection for HLS streams.
2014-08-18 22:22:03 +02:00
Olof Johansson
e56e5385e9
tv4play: avoid using builtin keyword id as varname
...
Reported by pylint.
2014-07-22 10:13:49 +02:00
Johan Andersson
9aeea1b9d0
tv4play: support for HLS
2014-07-13 22:48:34 +02:00
Johan Andersson
507cf21e3d
tv4play: hds live videos looks a bit different from vod hds.
2014-06-23 21:22:26 +02:00
Johan Andersson
3f4bdd58d8
service: copy options to fetcher
2014-06-07 20:48:54 +02:00
Johan Andersson
95aac29eb1
tv4play: we don’t support drm protected files
2014-06-03 16:25:31 +02:00
Johan Andersson
79dd600397
tv4play: hdsparse support
2014-06-02 21:27:50 +02:00
Johan Andersson
83b120ef9a
tv4play: right value for rtmp path
2014-06-02 21:27:50 +02:00
Johan Andersson
9591e99e19
tv4play: yield the subs
2014-06-02 21:27:49 +02:00
Johan Andersson
672cf338ff
tv4play: convert into new video fetcher
2014-06-02 21:27:48 +02:00
Johan Andersson
9303550de1
tv4play: support for all episodes.
2014-04-03 19:52:51 +02:00
Johan Andersson
5e1e6dbbc9
subtitle: a way to download only subtitle.
2014-03-21 21:01:00 +01:00
Anders Waldenborg
baa8d76551
Add get_urldata() method to service
...
self.get_urldata() is eqivalent to get_http_data(self.url), but
also caches the data, so no additional requests are made if it
is called multiple times (e.g when grabbing title or downloading
thumbnail).
Generic().get(url) still causes it to be fetched an extra time.
2014-02-18 19:00:20 +01:00
Anders Waldenborg
b1871b3834
Add --thumbnail
...
Names thumbnails as $basename.tbn (Hi xbmc!)
2014-01-25 22:57:50 +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
ec8fe2a5b9
tv4play: print error message when there is no streams
2014-01-15 19:21:05 +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
33bb2c5c13
Replace sys.version_info with pyX
2013-12-30 01:35:08 +01:00
Johan Andersson
7ce8f4a8a2
tv4play: select mp4 for mediaformat
2013-11-17 13:32:33 +01:00
Johan Andersson
608497d335
tv4play: uncomment necessary info to rtmpdump
2013-05-29 23:21:13 +02:00