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

165 Commits

Author SHA1 Message Date
Johan Andersson
da66ffcf2e format string fixes
fixes #558
2017-02-12 09:01:40 +01:00
qnorsten
9cfb4e5f1e Viafree: Added check to prevent crash while naming clips
Added check to only get parent season and episode number if derived_from_id actually is set. Prevent crashes on some clips.
2017-02-11 10:19:57 +01:00
qnorsten
1dbe315586 viafree: Download only specific season by using /sasongXX in url
Support to only download specific season by passing /sasongXX in url, when used with -A
Fixes: https://github.com/spaam/svtplay-dl/issues/439
2017-02-06 12:43:59 +01:00
qnorsten
be97c6266b viafree: forgot to remove tv3play from filename
viafree: forgot to remove tv3play from filename
2017-02-03 11:10:58 +01:00
qnorsten
a2bb75569a viafree: Change autonaming from tv3play to viafree
Change part autogenerated file names from tv3play to viafree
2017-02-03 10:37:47 +01:00
qnorsten
ac864643cd Viafree: Added support for --include-clips
Added support for --include-clips for viafree
2017-02-02 14:20:33 +01:00
Johan Andersson
a72282e44b viafree: don't try to access videos that don't exists
fixes: #547
2017-02-01 11:06:01 +01:00
qnorsten
5dff059ff3 Viafree: Added SDH subfix to subtitle files when --all-subtitles are used
Added support to download both regular and Subtitles for hearing impared( with -SDH subfix), when using --all-subtitles
2016-12-17 11:09:07 +01:00
Johan Andersson
92323375fc naming: write leading zeros in episodes and seasons in a better way 2016-12-05 21:52:42 +01:00
Johan Andersson
33679e3058 viaplay: support for wsrt (vtt) subtitle
fixes: #501
2016-12-05 20:53:22 +01:00
Johan Andersson
3173beef4a viaplay: check if its vtt or sami 2016-12-05 19:57:57 +01:00
Johan Andersson
7e551f6cfc viaplay: support for tv3play.tv3.ee and tvplay.skaties.lv 2016-10-31 19:20:18 +01:00
Johan Andersson
4901d89cf6 viaplay: support for play.tv3.lt
fixes #482
2016-10-20 19:07:56 +02:00
Johan Andersson
72d0e2069a viaplay: workaround to detect episode number
fixes #461
2016-10-01 12:33:20 +02:00
Johan Andersson
4b79438ea7 viaplay: better support to detect videoid 2016-09-28 12:48:56 +02:00
Johan Andersson
89789b843b viaplay: get the right id for the video and not the first one we see.
fixes: #450
fixes: #447
2016-09-14 20:52:14 +02:00
Johan Andersson
7c8cf96900 viaplay: dont expect the key to be 0. better to loop all keys instead.
fixes: #440
2016-09-03 18:39:49 +02:00
Johan Andersson
36c9c08452 viaplay: dont run len on int's to check if its empty string
fixes #431
2016-09-02 00:06:31 +02:00
Johan Andersson
c799375e73 viaplay: more improvements for viafree with single videos
fixes #427
2016-08-21 01:08:39 +02:00
Johan Andersson
4d4ba7afac viaplay: some cases there is no episode info, use the video id instead. 2016-08-20 17:16:40 +02:00
Johan Andersson
4374d1c38d viaplay: Better way to extract the right video id from the new site
fixes: #424
2016-08-17 00:43:34 +02:00
Johan Andersson
1775793387 viaplay: support for -A viafree sites 2016-08-15 22:46:32 +02:00
Johan Andersson
e0caf5c822 viaplay: add support for viafree.se 2016-08-15 19:32:52 +02:00
Johan Andersson
0ae031b8ac tv3play: fix all downloads if it more than one seaon
fixes: #389
2016-06-30 01:20:39 +02:00
Johan Andersson
fa730a5564 remove options in argument for exclude 2016-05-14 22:54:30 +02:00
Johan Andersson
8a4469c810 Anomalous backslash in string fixes 2016-02-22 20:43:57 +01:00
Johan Andersson
4e88894f0c remove some empty lines. 2016-02-07 10:28:07 +01:00
Johan Andersson
1fa3204374 viaplay: we should get the subtitle after we set name
fixes #341
2016-02-07 10:25:49 +01:00
Johan Andersson
b5ea350c0f Move options to when we init the service class 2015-12-26 11:46:14 +01:00
Johan Andersson
bd565f77ae viaplay: better filenames
fix #286
2015-10-24 21:55:33 +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
07d061d397 viaplay: adding support for juciplay.se 2015-09-10 21:57:55 +02:00
Johan Andersson
f7323a0072 viaplay: f4m can be in the middle of the filename 2015-09-10 21:38:29 +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
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