Commit Graph

189 Commits

Author SHA1 Message Date
Ivan Habunek
c2e9ab9382
Bump version 2020-09-29 12:22:24 +02:00
Ivan Habunek
739460bed1
Remove extraneous parameter 2020-09-29 12:21:13 +02:00
Ivan Habunek
c92ba5e183
Bump version 2020-09-29 11:28:35 +02:00
Ivan Habunek
f4ab045cdc
Add --pager option, don't page by default
issue #30
2020-09-29 11:28:35 +02:00
Ivan Habunek
cdc0495cf1
Document temp file shenanigans 2020-09-29 11:28:34 +02:00
Ivan Habunek
c510d5aae4
Add --overwrite option
issue #37
2020-09-29 11:28:03 +02:00
Ivan Habunek
2abc56213e
Add --no-join option to skip ffmpeg join
issue #36
2020-09-29 11:27:49 +02:00
Ivan Habunek
bb16108572
Add source quality alias
issue #33
2020-09-29 08:26:40 +02:00
Ivan Habunek
b982cba566
Bump version, changelog 2020-09-03 12:56:57 +02:00
Ivan Habunek
f4d442c118
Document installation instructions 2020-09-03 12:56:08 +02:00
Ivan Habunek
eecd098f18
Add www before twitch.tv since that's what twitch uses 2020-09-03 12:55:45 +02:00
Ivan Habunek
041689bee9
Construct paths using path libs
Fixes issues with paths on windows.

issue #35
2020-09-03 12:26:28 +02:00
Ivan Habunek
a245ffb6a4
Fix issue with partial downloads
When using --start or --end, only keep the segments which have been
downloaded, and skip the rest.
2020-09-03 11:59:44 +02:00
Ivan Habunek
ac37f179ef
Improve bundle command
* directly save to desired file name
* add version number to file name
* remove __pycache__ folders before bundling
* compress the archive
2020-09-03 11:09:38 +02:00
Ivan Habunek
5b200a2cb7
Add a splash of color 2020-09-03 10:38:29 +02:00
Ivan Habunek
bf2a4558f4
Improve VOD joining logic
Instead of creating a file list, create a modified playlist which
references the downloaded files, and give this as input to ffmpeg. Since
ffmpeg handles M3U8 playlists, this means options such as
`EXT-X-BYTERANGE` are supported.

issue #35
2020-09-03 10:38:29 +02:00
Ivan Habunek
772faa5901
Log ffmpeg command and handle errors better 2020-09-03 10:38:28 +02:00
Ivan Habunek
04ddadef26
Add bundling with zipapp 2020-08-13 13:47:03 +02:00
Ivan Habunek
bbed398cf6
Fix version number in init file, bump version 2020-08-11 18:10:21 +02:00
Ivan Habunek
d8863ac695
Bump version, changelog 2020-08-09 12:04:48 +02:00
Ivan Habunek
4edf299780
Handle more gracefully when video/clip not found 2020-08-09 11:55:40 +02:00
Ivan Habunek
78295a492c
Improve parsing inputs for download command
* Fix overzealous regex which caused video patterns to be identified as
  clips by testing for videos before clips.
* Allow URLs with or without `www.`.
* Add tests which verify this actually works.

fixes #28
2020-08-09 11:45:39 +02:00
Ivan Habunek
f456d04de6
Bump version, update changelog and readme 2020-08-07 16:38:55 +02:00
Ivan Habunek
8222df3670
Allow numbers in clip slugs
issue #24
2020-08-07 16:35:56 +02:00
Ivan Habunek
65663d3505
Fix url to video shown when listing videos 2020-08-07 16:24:23 +02:00
Ivan Habunek
706e42d197
Make quality selectable for clip download 2020-08-07 16:23:08 +02:00
Ivan Habunek
3cfa05a3ee
Make quality selectable for video download 2020-08-07 16:23:00 +02:00
Ivan Habunek
4f62a26c30
Bump version, changelog 2020-06-10 12:07:59 +02:00
Ivan Habunek
2171a9e08e
Allow unicode values in slugs
Otherwise non-ascii characters get stripped which is not good for
e.g. titles in cyrillic script.
2020-06-10 10:54:28 +02:00
Ivan Habunek
15ca684286
Don't unpack options
This makes it more readable as option count increases.
2020-05-30 10:21:19 +02:00
Ivan Habunek
fd56a16c41
Fix option to use kebab case like the rest 2020-05-30 09:48:31 +02:00
Ivan Habunek
4885c6a3b7
Add requirements to readme 2020-05-29 13:57:02 +02:00
Ivan Habunek
2cf66c022c
Don't break if game is None 2020-05-29 13:55:54 +02:00
Ivan Habunek
717f634dda
Remove unused code 2020-05-29 13:51:51 +02:00
Ivan Habunek
169f15ca30
Add --game example to README 2020-05-17 14:46:08 +02:00
Ivan Habunek
58458553bc
Bump version 2020-05-17 14:42:55 +02:00
Ivan Habunek
cabc8ff327
Improve paging 2020-05-17 14:41:11 +02:00
Ivan Habunek
d22fd74357
Add filtering videos by game 2020-05-17 14:35:33 +02:00
Ivan Habunek
4241ab5d67
Make less important messages dim 2020-05-17 14:32:37 +02:00
Ivan Habunek
94e9f6aa80
Extract graphql query function 2020-05-17 13:48:48 +02:00
Ivan Habunek
b014d94366
Blue is nicer than cyan 2020-05-17 13:48:16 +02:00
Ivan Habunek
ea01ef3d99
Add paging to videos command 2020-05-17 13:41:34 +02:00
Ivan Habunek
2118cd8825
Use graphql to fetch channel videos
The old helix endpoint returns HTTP 401

fixes #18
2020-05-17 11:57:16 +02:00
Ivan Habunek
6c28dd2f5e
Bump version 2020-04-25 20:06:02 +02:00
Ivan Habunek
e3dde90870
Specify broadcast type when listing videos
issue #13
2020-04-25 20:04:21 +02:00
Ivan Habunek
c628757ac0
Fix error message 2020-04-12 11:44:01 +02:00
Ivan Habunek
5e97b439a7
Bump version, changelog 2020-04-11 20:57:43 +02:00
Ivan Habunek
07f3a2fa48
Implement downloading clips
issue #15
2020-04-11 16:07:17 +02:00
Ivan Habunek
96f13e9cf7
Bump version, changelog 2020-04-11 14:07:14 +02:00
Ivan Habunek
c9547435df
Nicer otput while dowloading VODs, bright colors 2020-04-11 14:05:23 +02:00