Harald Gustafsson
|
fd0171d257
|
New option to only download videos that are published on or after a certain date. Relies on the new metadata extraction. When metadata is missing defaults to download. Useful for channels that don't publish episodes in order e.g. barnkanalen.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
073f26e618
|
Added broadcast/publishing datetime to metadata extraction and NFO file creation.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
4388e57112
|
Move the new metadata based thumbnail download into a reusable class instead of directly in Svtplay (requires that the service extract thumbnail urls during parsing of the video info into the self.output variable and the keys 'showthumbnailurl' and 'episodethumbnailurl'). Change OpenGraphThumbMixin to use the new download_thumbnails which makes correct filenames. Removed the old download_thumbnail.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
fc71a8d8e4
|
flake8 fixes.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
c15d7607eb
|
Create NFO files with the extracted metadata. TVshows get a tvshow.nfo file as well.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
184f79a377
|
Option to automatically create a subfolder for tvshows, named as the show title. When not a series will use a subfolder titled movies.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
bf0e38a6f9
|
Working thumbnail download. Used by svtplay and barnkanalen, downloads both episode and show thumbnails.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
dbdf7dc851
|
Get extra metadata, like thumbnails and descriptions. Currently implemented for svtplay and barnkanalen.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
71b40f975a
|
Fix bug that get_thumbnail could never be called, due to overwrite of the stream variable.
|
2018-09-05 21:43:52 +02:00 |
|
Jakob Schlyter
|
57e51c8bb1
|
parse date periods with hours and seconds only
|
2018-09-05 21:37:38 +02:00 |
|
Harald Gustafsson
|
7736af04b5
|
Fix find all episodes for tv4play, some dictionary keys sometimes missing.
|
2018-09-05 21:37:08 +02:00 |
|
Gustav Ahlberg
|
dd76a21fbe
|
use vars
|
2018-09-05 21:36:27 +02:00 |
|
Gustav Ahlberg
|
8cc2d5625e
|
more cleanup
|
2018-09-05 21:36:27 +02:00 |
|
Gustav Ahlberg
|
471a3a8711
|
small cleanup
|
2018-09-05 21:36:27 +02:00 |
|
Gustav Ahlberg
|
47655df815
|
service for koket to download lessons
|
2018-09-05 21:36:27 +02:00 |
|
Johan Andersson
|
a7aa860f61
|
viafree: fix a warning with multiple spaces after ','
|
2018-09-05 16:45:50 +02:00 |
|
Johan Andersson
|
7bd1d3a1f3
|
viafree: fix for downloading a specific season
fixes #944
|
2018-09-05 16:40:56 +02:00 |
|
Johan Andersson
|
e7bc0c1abe
|
viafree: set episode name when its a text
fixes #941
|
2018-09-05 16:40:56 +02:00 |
|
Johan Andersson
|
a6e2bae955
|
utils.stream: remove some debug prints
|
2018-09-05 16:40:56 +02:00 |
|
Harald Gustafsson
|
8297d6614f
|
Fix missed option to config change in barnkanalen service.
|
2018-07-22 23:02:43 +02:00 |
|
Johan Andersson
|
d693e16596
|
get_multiple_media: this should be config
|
2018-07-16 21:21:18 +02:00 |
|
Johan Andersson
|
c97ec9030e
|
subtitle.remux: remove copyts
copyts made that videos started at 10s and made subtitles be wrong.
|
2018-07-12 00:53:55 +02:00 |
|
Johan Andersson
|
3ad8c509f9
|
subtitle: wrstsegment is ten second off
|
2018-07-12 00:52:19 +02:00 |
|
Johan Andersson
|
6a324ed319
|
subtitle: missing whitespace around arithmetic operator
|
2018-07-10 23:00:44 +02:00 |
|
qnorsten
|
6813862727
|
Fix timecodes for segmented subtitles
|
2018-07-10 22:55:01 +02:00 |
|
Johan Andersson
|
1b0385a102
|
Remove unused module
|
2018-07-10 22:28:44 +02:00 |
|
Johan Andersson
|
f8298a955f
|
bring back old method of making the binary
|
2018-07-10 22:22:51 +02:00 |
|
Johan Andersson
|
1275421e08
|
remove certifi hack
|
2018-07-10 21:33:30 +02:00 |
|
Johan Andersson
|
446cdd89bc
|
better why to get the version
|
2018-07-10 21:32:54 +02:00 |
|
Johan Andersson
|
9b839dfaf4
|
subtitle.wrst: tv4play split their wrst into several .m3u8 files
it have some dupe codes. that we need to fix in the future....
|
2018-07-05 01:26:43 +02:00 |
|
Johan Andersson
|
e377ee7386
|
output: --force should work on subtitles too
|
2018-07-05 01:26:43 +02:00 |
|
Johan Andersson
|
a0ab26a939
|
utilis.http: move get_full_url from hls to http
|
2018-07-05 01:26:43 +02:00 |
|
Johan Andersson
|
d61e5793e6
|
use which from stdlib instead our own version
|
2018-07-05 01:26:43 +02:00 |
|
Johan Andersson
|
7aba2589ec
|
_checktracks: support for language in the stream
|
2018-06-24 21:55:18 +02:00 |
|
Johan Andersson
|
21b3ec0ffa
|
tv4play: add support for the new site
fixes: #918 #916 #914
|
2018-06-24 16:15:55 +02:00 |
|
Johan Andersson
|
8b54c05ca8
|
getmedia: use logging instead of log
|
2018-06-24 16:14:57 +02:00 |
|
Johan Andersson
|
7668ed7a68
|
generic: change to config
|
2018-06-24 16:10:41 +02:00 |
|
Johan Andersson
|
43b67dfa86
|
appveyor: ship cacert.pem when built with nuitka
|
2018-06-17 17:03:46 +02:00 |
|
Johan Andersson
|
e3939a4bbe
|
viafree: we should check if this is a sport page or not
|
2018-06-03 20:49:45 +02:00 |
|
Johan Andersson
|
138995925e
|
_formatname: check if we have season in output
|
2018-06-03 18:03:09 +02:00 |
|
Johan Andersson
|
18b00ae673
|
viafree: support for downloading video from the program page.
|
2018-06-03 18:00:01 +02:00 |
|
Johan Andersson
|
585ea7b0d6
|
viafree: unused import
|
2018-06-03 17:59:36 +02:00 |
|
Johan Andersson
|
70bffe6f5e
|
viafree._autoname: In some cases we dont have episode info.
|
2018-06-03 15:50:34 +02:00 |
|
Johan Andersson
|
2a94b927d0
|
_formatname: in some cases we dont have the episode and only season.
we want to have like "name.s01.new.stuff.service.id.ext"
its better than "name.new.stuff.service.id.ext"
|
2018-06-03 15:48:48 +02:00 |
|
Johan Andersson
|
fbffce1c12
|
hlsparse: return dict instead of nothing
|
2018-06-03 15:20:46 +02:00 |
|
Johan Andersson
|
fa3b16bfcd
|
get_one_media: use logging instead of log.
|
2018-06-03 12:49:49 +02:00 |
|
Johan Andersson
|
668bbceac5
|
aftonbladet: update so it works with the site again.
|
2018-06-03 12:49:25 +02:00 |
|
Johan Andersson
|
a411750a67
|
nrk: output missing for subtitle
|
2018-06-03 01:39:19 +02:00 |
|
Johan Andersson
|
12cbe91d7b
|
dbtv.no: thet use youtube now for their videos
|
2018-06-03 01:35:19 +02:00 |
|
Johan Andersson
|
aa39a52f15
|
dr: missing output
|
2018-06-03 01:18:15 +02:00 |
|
Johan Andersson
|
a261094731
|
öppetarkiv: this need to have output set
|
2018-06-03 00:24:44 +02:00 |
|
Johan Andersson
|
66b45cd4b1
|
öppetarkiv: unused import
|
2018-06-03 00:17:05 +02:00 |
|
Johan Andersson
|
00814e690d
|
öppetarkiv: no need to check if streams are empty or not
|
2018-06-03 00:13:45 +02:00 |
|
Johan Andersson
|
512f8a0979
|
öppetarkiv: missing output value
|
2018-06-03 00:13:18 +02:00 |
|
Johan Andersson
|
1677349a42
|
öppetarkiv: we only send one argument to outputfilename
|
2018-06-03 00:12:45 +02:00 |
|
Johan Andersson
|
276b55dc8c
|
get_one_media: we get the config nowadays
|
2018-06-03 00:12:15 +02:00 |
|
Johan Andersson
|
12021ee355
|
get_one_media: dont try to run exclude on exceptions
|
2018-05-31 01:30:25 +02:00 |
|
Johan Andersson
|
89104b830e
|
viafree: support for the new page
fixes #893
|
2018-05-31 01:30:25 +02:00 |
|
Johan Andersson
|
9619936f2a
|
flake8 fixes
|
2018-05-27 16:10:22 +02:00 |
|
Johan Andersson
|
4fc53137d1
|
dplay: use logging instead of log
|
2018-05-27 16:05:54 +02:00 |
|
Johan Andersson
|
25831bd1a9
|
twitch: this should be episodename
|
2018-05-27 16:04:39 +02:00 |
|
Johan Andersson
|
f754197713
|
dplay: support for several subtitle languages
In some cases we dont want to download everything.
by default we will download the language as the .tld
|
2018-05-27 16:04:13 +02:00 |
|
Johan Andersson
|
af8fcc7581
|
hlsparse: put together subtitles when we are done with the other media.
use random bitrate so we can extract several subtitles if we need to extract it.
|
2018-05-27 16:00:05 +02:00 |
|
Johan Andersson
|
bfe7089c58
|
subtitle: Add subfix after episodename if we want to download all subtitles.
|
2018-05-27 15:55:25 +02:00 |
|
Johan Andersson
|
0f0e9fc459
|
urplay: only send the label to the subtitle
|
2018-05-27 15:54:24 +02:00 |
|
Johan Andersson
|
d69244d39c
|
merge: dont try to merge when new is None
|
2018-05-26 01:26:30 +02:00 |
|
Johan Andersson
|
526c6bbdbe
|
get_one_media: always remux hls
fixes #903
|
2018-05-25 22:49:05 +02:00 |
|
Johan Andersson
|
326a26aa21
|
fetcher: use .format for repr
|
2018-05-25 22:47:48 +02:00 |
|
Johan Andersson
|
bbf2f82b79
|
fetcher: make name a property
|
2018-05-25 22:47:26 +02:00 |
|
Johan Andersson
|
72d11fd3d0
|
setup: rewrite the version information to its own file.
this will help setup to find new deps that we are missing
|
2018-05-24 23:05:34 +02:00 |
|
Johan Andersson
|
dea461c198
|
get_one_media: instead of using hardcoded name of fetcher check for audio
|
2018-05-24 21:18:14 +02:00 |
|
Johan Andersson
|
30f09b4bad
|
output: we can have separate a/v stream in .ts but there is no extension to separate them
fixes: #902
|
2018-05-24 21:15:14 +02:00 |
|
Johan Andersson
|
9268ef269e
|
Remove old method to build
|
2018-05-22 22:18:56 +02:00 |
|
Johan Andersson
|
66f102cd92
|
tv4play: add some extra space around arithmetic operator
|
2018-05-22 20:19:53 +02:00 |
|
Johan Andersson
|
389acf6a6c
|
npo: use the correct path to urlparse
|
2018-05-22 20:19:16 +02:00 |
|
Johan Andersson
|
7a8b4af606
|
tv4play: remove " - " från the name
|
2018-05-22 00:51:00 +02:00 |
|
Johan Andersson
|
2718f55db7
|
tv4play: send hls_time_stamp as a argument to fetchers
|
2018-05-22 00:03:14 +02:00 |
|
Johan Andersson
|
3dd8285c8a
|
qbrick: send other as a argument
|
2018-05-22 00:02:48 +02:00 |
|
Johan Andersson
|
35d8eb6dd1
|
Some more options to config
|
2018-05-22 00:02:20 +02:00 |
|
Johan Andersson
|
b77b78b121
|
output: dont try to check empty values
|
2018-05-21 23:37:00 +02:00 |
|
Johan Andersson
|
ae89f52606
|
tv4play: Add the id number to output
fixes: #899
|
2018-05-21 23:36:34 +02:00 |
|
Johan Andersson
|
24c1be3fd2
|
viafree: replace options with config
|
2018-05-21 22:56:22 +02:00 |
|
Johan Andersson
|
81e327ec19
|
tv4play: send other as a argument to the fetcher class
|
2018-05-21 22:13:30 +02:00 |
|
Johan Andersson
|
bbc0b70368
|
tv4play: remove some old option code
|
2018-05-21 22:13:08 +02:00 |
|
Johan Andersson
|
c5b436e20e
|
services: add output variable to fetchers
|
2018-05-21 00:56:22 +02:00 |
|
Johan Andersson
|
7aee5164f5
|
viafree: remove old variable
|
2018-05-21 00:38:04 +02:00 |
|
Johan Andersson
|
7275829dae
|
hls.download: the extension should be ts not tls
|
2018-05-21 00:05:31 +02:00 |
|
Johan Andersson
|
72af4ffb0f
|
Change shebang to python3 from python
|
2018-05-20 23:23:16 +02:00 |
|
Johan Andersson
|
1300ab7032
|
setup_log: use pathname instead of filename
|
2018-05-20 23:06:15 +02:00 |
|
Johan Andersson
|
8b340bb103
|
get_media: use config inside of stream
|
2018-05-20 21:09:49 +02:00 |
|
Johan Andersson
|
a8fa7a8aa3
|
get_media: we already have this code in parser
|
2018-05-20 21:05:24 +02:00 |
|
Johan Andersson
|
2605f4ff94
|
output.formatname: this should be path
|
2018-05-20 20:51:34 +02:00 |
|
Johan Andersson
|
600afef12b
|
parser.setup_default: add missing default values
|
2018-05-20 20:29:16 +02:00 |
|
Johan Andersson
|
c41dba7077
|
parser.merge: rewrite and dont update items with std values
|
2018-05-20 20:28:49 +02:00 |
|
Johan Andersson
|
2e0bf58a3f
|
parser: this can be on one line
|
2018-05-20 19:05:35 +02:00 |
|
Johan Andersson
|
e97b104573
|
unused imports
|
2018-05-20 19:05:17 +02:00 |
|
Johan Andersson
|
6dfdc8c6c0
|
Support for config files
this will search for config file in
unix: ~/.svtplay-dl.yaml
windows: %APPDATA%\svtplay-dl\svtplay-dl.yaml
|
2018-05-20 18:21:40 +02:00 |
|
Johan Andersson
|
2543ed7f46
|
move some special config values to parser
|
2018-05-20 13:16:00 +02:00 |
|
Johan Andersson
|
6c526a62e1
|
remove some more excludes
|
2018-05-13 15:15:11 +02:00 |
|
Johan Andersson
|
8fcd201ddc
|
dash: use exception instead of nothin
|
2018-05-13 14:21:27 +02:00 |
|
Johan Andersson
|
6b186291dd
|
vimeo: fix bad merge from before..
|
2018-05-13 14:20:57 +02:00 |
|
Johan Andersson
|
d2776c3b12
|
Remove some debug prints
|
2018-05-13 13:18:36 +02:00 |
|
Johan Andersson
|
a5f1ee4c25
|
postprocess: set the right output filename when using remux
|
2018-05-13 13:18:36 +02:00 |
|
Johan Andersson
|
8192fe025d
|
getmedia: right import path to which
|
2018-05-13 13:18:36 +02:00 |
|
Johan Andersson
|
836084f1fb
|
output: user should be able to set its own output name
|
2018-05-13 13:18:36 +02:00 |
|
Johan Andersson
|
9a2aafefda
|
parser: set output to None
|
2018-05-13 13:18:36 +02:00 |
|
Johan Andersson
|
09eac51d6c
|
subtitle: remove unused cookies variable
|
2018-05-13 13:18:29 +02:00 |
|
Johan Andersson
|
1b1cde811c
|
subtitle: use config instead of options
|
2018-05-13 13:09:27 +02:00 |
|
Johan Andersson
|
d3799d7660
|
rtmp: generate correct filename
|
2018-05-13 13:09:27 +02:00 |
|
Johan Andersson
|
55b07c1dfb
|
fetcher: set output extension
|
2018-05-13 13:09:27 +02:00 |
|
Johan Andersson
|
9ce61f499d
|
postprocess: generate correct filename
|
2018-05-13 13:09:27 +02:00 |
|
Johan Andersson
|
5474da2251
|
postprocess: use config
|
2018-05-13 13:09:27 +02:00 |
|
Johan Andersson
|
335ff16c8c
|
output: fix detection of already downloaded files
|
2018-05-13 13:09:27 +02:00 |
|
Johan Andersson
|
81011d4b53
|
svtplay: only add desc if available
|
2018-05-13 13:09:27 +02:00 |
|
Johan Andersson
|
bf21419afd
|
output.formatname: this should be ints
|
2018-05-13 13:09:27 +02:00 |
|
Johan Andersson
|
850ec4612d
|
getmedia: do exclude inside of the streams loop.
|
2018-05-13 13:09:25 +02:00 |
|
Johan Andersson
|
92763977ed
|
subtitle: better represent line
|
2018-05-13 13:08:27 +02:00 |
|
Johan Andersson
|
d3841e17da
|
options to commit
|
2018-05-13 13:08:24 +02:00 |
|
Johan Andersson
|
d4dc9693df
|
postprocess: use output in streams instead of options
|
2018-05-13 13:07:37 +02:00 |
|
Johan Andersson
|
193edae667
|
mtvnn: send other as a argument instead of using options
|
2018-05-13 13:07:37 +02:00 |
|
Johan Andersson
|
77115279e1
|
remove some old naming methods that we dont need now
|
2018-05-13 13:07:37 +02:00 |
|
Johan Andersson
|
4271bbe615
|
remove some old excludes
|
2018-05-13 13:07:37 +02:00 |
|
Johan Andersson
|
6d490879a4
|
Remove some empty lines
|
2018-05-13 13:07:37 +02:00 |
|
Johan Andersson
|
1a14d26b1b
|
Return empty dict instead of None
|
2018-05-13 13:07:37 +02:00 |
|
Johan Andersson
|
f300e24ca3
|
more options to config replaces
|
2018-05-13 13:07:34 +02:00 |
|
Johan Andersson
|
ca49366002
|
Options to config
|
2018-05-13 13:06:45 +02:00 |
|
Johan Andersson
|
28dcc90d7e
|
flake8 fixes
|
2018-05-13 12:10:19 +02:00 |
|
Johan Andersson
|
698ad195b7
|
rewrite logging a bit
|
2018-05-13 12:10:19 +02:00 |
|
Johan Andersson
|
a051418dab
|
utils: move functions out of init to its own files.
|
2018-05-13 12:10:19 +02:00 |
|
Johan Andersson
|
39f1f2c162
|
change order of operator
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
a7dfff596b
|
svtplay: missing import
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
859fd50efa
|
flake8 break long lines
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
50ef5821f4
|
flake8 add some space for the operator
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
07b84c1f2e
|
flake8 no need for extra space
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
5339bdc265
|
flake8 over-indented for visual indent
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
8f126c3d49
|
flake8 add new line end of file
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
22e3c8e5ac
|
urljoin in hls
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
5d1f86d8fc
|
flake8 fixes
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
8af26fb5c7
|
unused imports
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
903a4ae71d
|
No need for utils.io
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
7e351530e9
|
No need for utils.urllib anymore
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
86a8ea52e9
|
use logging?
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
7137278213
|
Do the merge and check some options in main
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
a6c4de8d9d
|
flake fix
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
b82831df03
|
Move services to its own file
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
d496955cb4
|
Move Options to parser?
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
03c8b68bb6
|
Move get_* to its own file
|
2018-05-13 12:09:27 +02:00 |
|
Johan Andersson
|
3da6728ae3
|
move mergeparseroption to parser.py
|
2018-05-13 12:08:11 +02:00 |
|
Johan Andersson
|
c135ed3593
|
move parser to its own file
|
2018-05-13 12:08:11 +02:00 |
|
Johan Andersson
|
8109b592a6
|
pep8 fixes
|
2018-05-13 12:08:11 +02:00 |
|