Commit Graph

251 Commits

Author SHA1 Message Date
Ivan Habunek
dbee7cdc52
Use GraphQL to fetch access token
issue #53
2021-01-14 22:14:52 +01:00
Ivan Habunek
548a9350ba
Add twitch-dl info command 2021-01-14 22:14:52 +01:00
Ivan Habunek
2380dc5a35
Split up commands 2021-01-14 22:14:50 +01:00
Scotty Allen
a7340f178f Fix bug in videos command saying there are more videos when there aren’t
When listing videos, if --pager was not specified and all of the videos
for a channel were listed, a message would still print out saying
“There are more videos. Increase the --limit or use --pager to see the
rest."

This checks to see if there are actually more videos before printing
that error message.
2021-01-11 00:49:57 +01:00
Ivan Habunek
838611b834
Bump version 2020-11-23 16:08:15 +01:00
Ivan Habunek
cf8d13e80e
Fix clip download due to missing fields in query
fixes #45
2020-11-23 16:06:09 +01:00
Ivan Habunek
6108b15587
Handle channel not found in clips 2020-11-10 12:40:11 +01:00
Ivan Habunek
bb2de4af96
Bump version 2020-11-10 10:48:21 +01:00
Ivan Habunek
678bf11a8a
Fix print_clip when game is not set 2020-11-10 10:44:18 +01:00
Ivan Habunek
69de08e2ba
Update readme 2020-11-10 10:44:09 +01:00
Ivan Habunek
1cb4598a71
Add downloading clips 2020-11-10 09:22:07 +01:00
Ivan Habunek
02e4cdaff6
Add listing clips 2020-11-10 08:30:01 +01:00
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