Commit Graph

83 Commits

Author SHA1 Message Date
2abc56213e Add --no-join option to skip ffmpeg join
issue #36
2020-09-29 11:27:49 +02:00
bb16108572 Add source quality alias
issue #33
2020-09-29 08:26:40 +02:00
b982cba566 Bump version, changelog 1.11.0 2020-09-03 12:56:57 +02:00
f4d442c118 Document installation instructions 2020-09-03 12:56:08 +02:00
eecd098f18 Add www before twitch.tv since that's what twitch uses 2020-09-03 12:55:45 +02:00
041689bee9 Construct paths using path libs
Fixes issues with paths on windows.

issue #35
2020-09-03 12:26:28 +02:00
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
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
5b200a2cb7 Add a splash of color 2020-09-03 10:38:29 +02:00
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
772faa5901 Log ffmpeg command and handle errors better 2020-09-03 10:38:28 +02:00
04ddadef26 Add bundling with zipapp 2020-08-13 13:47:03 +02:00
bbed398cf6 Fix version number in init file, bump version 1.10.2 2020-08-11 18:10:21 +02:00
d8863ac695 Bump version, changelog 1.10.1 2020-08-09 12:04:48 +02:00
4edf299780 Handle more gracefully when video/clip not found 2020-08-09 11:55:40 +02:00
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
f456d04de6 Bump version, update changelog and readme 1.10.0 2020-08-07 16:38:55 +02:00
8222df3670 Allow numbers in clip slugs
issue #24
2020-08-07 16:35:56 +02:00
65663d3505 Fix url to video shown when listing videos 2020-08-07 16:24:23 +02:00
706e42d197 Make quality selectable for clip download 2020-08-07 16:23:08 +02:00
3cfa05a3ee Make quality selectable for video download 2020-08-07 16:23:00 +02:00
4f62a26c30 Bump version, changelog 1.9.0 2020-06-10 12:07:59 +02:00
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
15ca684286 Don't unpack options
This makes it more readable as option count increases.
2020-05-30 10:21:19 +02:00
fd56a16c41 Fix option to use kebab case like the rest 2020-05-30 09:48:31 +02:00
4885c6a3b7 Add requirements to readme 2020-05-29 13:57:02 +02:00
2cf66c022c Don't break if game is None 2020-05-29 13:55:54 +02:00
717f634dda Remove unused code 2020-05-29 13:51:51 +02:00
169f15ca30 Add --game example to README 2020-05-17 14:46:08 +02:00
58458553bc Bump version 1.8.0 2020-05-17 14:42:55 +02:00
cabc8ff327 Improve paging 2020-05-17 14:41:11 +02:00
d22fd74357 Add filtering videos by game 2020-05-17 14:35:33 +02:00
4241ab5d67 Make less important messages dim 2020-05-17 14:32:37 +02:00
94e9f6aa80 Extract graphql query function 2020-05-17 13:48:48 +02:00
b014d94366 Blue is nicer than cyan 2020-05-17 13:48:16 +02:00
ea01ef3d99 Add paging to videos command 2020-05-17 13:41:34 +02:00
2118cd8825 Use graphql to fetch channel videos
The old helix endpoint returns HTTP 401

fixes #18
2020-05-17 11:57:16 +02:00
6c28dd2f5e Bump version 1.7.0 2020-04-25 20:06:02 +02:00
e3dde90870 Specify broadcast type when listing videos
issue #13
2020-04-25 20:04:21 +02:00
c628757ac0 Fix error message 2020-04-12 11:44:01 +02:00
5e97b439a7 Bump version, changelog 1.6.0 2020-04-11 20:57:43 +02:00
07f3a2fa48 Implement downloading clips
issue #15
2020-04-11 16:07:17 +02:00
96f13e9cf7 Bump version, changelog 1.5.1 2020-04-11 14:07:14 +02:00
c9547435df Nicer otput while dowloading VODs, bright colors 2020-04-11 14:05:23 +02:00
042d35ba1e Override local file names for downloaded vods
Sometimes the playlists contain more than just file names which can
break the ffmpeg join, so just name downloaded vods sequentially.

fixes #12
2020-04-11 13:20:59 +02:00
ebc754072d Reorganise code 2020-04-11 13:08:42 +02:00
cb00accd6a Better long description 1.5.0 2020-04-10 16:42:35 +02:00
64157c1ef6 Bump version 2020-04-10 16:34:37 +02:00
6a8da3b01b Don't print errors messages when retrying
Only die if all retries fail.
2020-04-10 16:22:15 +02:00
e29d42e9ef Use Twitch's client ID
Fetching access token with own client ID no longer works.

Everybody else in the world seems to be doing it:
https://github.com/search?p=2&q=kimne78kx3ncx6brgo4mv6wki5h1ko&type=Code
2020-04-10 16:21:10 +02:00