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
Ivan Habunek
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
Ivan Habunek
ebc754072d
Reorganise code
2020-04-11 13:08:42 +02:00
Ivan Habunek
cb00accd6a
Better long description
2020-04-10 16:42:35 +02:00
Ivan Habunek
64157c1ef6
Bump version
2020-04-10 16:34:37 +02:00
Ivan Habunek
6a8da3b01b
Don't print errors messages when retrying
...
Only die if all retries fail.
2020-04-10 16:22:15 +02:00
Ivan Habunek
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
Ivan Habunek
100aa53b84
Bump version
2019-08-23 13:08:57 +02:00
Ivan Habunek
e384f26444
Save playlists to temp dir for debugging
2019-08-23 13:08:35 +02:00
Ivan Habunek
000754af8c
Use m3u8 lib to parse playlists
2019-08-23 12:36:05 +02:00
Ivan Habunek
6813bb51b4
Add option not to delete downloaded VODs
2019-08-23 10:16:49 +02:00
Ivan Habunek
34b0592cf3
Fix usage of deprecated v3 API
...
related #8
2019-08-23 09:03:33 +02:00
Ivan Habunek
e72f8e24ea
Bump version
2019-08-13 12:40:00 +02:00
Ivan Habunek
3c99e9975b
Bump version, changelog
2019-08-13 12:31:44 +02:00
Ivan Habunek
f807d4324b
Style the url in video list
2019-08-13 12:29:42 +02:00
Ivan Habunek
68a8b70948
Add offset and sort options to videos command
...
fixes #7
2019-08-13 12:25:25 +02:00
Ivan Habunek
932b7750b9
Print video URL
2019-08-12 15:21:57 +02:00
Ivan Habunek
aa5f17cbdb
Show errors returned via HTTP 400
2019-08-12 15:14:13 +02:00
Ivan Habunek
0fff0a4de1
Exit with nonzero code on error
2019-08-12 13:47:48 +02:00
Ivan Habunek
9dc67a7ff1
Bump version, add changelog
2019-07-05 13:15:59 +02:00
Ivan Habunek
3e7f310e36
Add --version option to print program version
2019-07-05 13:14:22 +02:00