Commit Graph

123 Commits

Author SHA1 Message Date
Ivan Habunek
e3f66bda43
Fix compat with older versions of python
path.join doesn't handle PosixPath instances in older versions of python
which causes breakage.

fixes #71
2021-07-31 11:41:45 +02:00
Ivan Habunek
5c3cebd0f3
Bump version, changelog 2021-06-09 15:10:39 +02:00
Ivan Habunek
a49dcab419
Fix clips download by fetching access token
fixes #64
2021-06-09 15:08:40 +02:00
Ivan Habunek
0dd04a7e2d
Extract clips list method 2021-05-18 14:25:49 +02:00
Ivan Habunek
5bd0747dde
Respect --limit when downloading clips 2021-05-18 14:23:56 +02:00
Ivan Habunek
63c2aff334
Handle keyboard interrupt 2021-05-18 14:00:50 +02:00
Ivan Habunek
e95b430eec
Remove unused namedtuple 2021-05-18 13:54:17 +02:00
Ivan Habunek
8c582c600e
Fix duplicate named test function 2021-05-18 13:52:34 +02:00
Ivan Habunek
c0c5cbf2a8
Don't break if channel not found 2021-03-22 07:42:07 +01:00
Ivan Habunek
3f143b0c84
Fix file naming not to strip first digit of id
fixes #60
2021-03-22 07:42:07 +01:00
Ivan Habunek
2242af05fc
Add changelog, bump version 2021-02-15 14:35:20 +01:00
Ivan Habunek
9c901a21d9
Fix reference to invalid argument 2021-02-15 14:33:31 +01:00
Ivan Habunek
270f53c3c1
Fix tests 2021-02-15 14:33:25 +01:00
Hegesippe Ëspace
e12dba26b4 Add dash as an allowed char, set length to 16. 2021-02-15 14:23:13 +01:00
Hegesippe Ëspace
3a61e61226 Add underscore as an allow char for clip extra ID 2021-02-15 14:23:13 +01:00
Hegesippe Ëspace
8ddfad51bc Update clip identifier patterns
New clips ID naming convention. ex: GloriousColdbloodedTortoiseRuleFive-E017utJ4DZmHVpfQ
2021-02-15 14:23:13 +01:00
Hegesippe Ëspace
d152cbff09 Update tests with new clip naming
New clips ID naming convention. ex: GloriousColdbloodedTortoiseRuleFive-E017utJ4DZmHVpfQ
2021-02-15 14:23:13 +01:00
Ivan Habunek
e0681ab53c
Bump version, changelog 2021-01-14 22:25:22 +01:00
Ivan Habunek
728e631623
Handle video not found in info 2021-01-14 22:23:40 +01:00
Ivan Habunek
9d19acbe6d
Re-apply fix lost to a merge conflict 2021-01-14 22:16:17 +01:00
Ivan Habunek
baeaedaa54
Fix setup.py to detect new package 2021-01-14 22:14:53 +01:00
Ivan Habunek
9e2bbd7e39
Bump version, changelog, readme 2021-01-14 22:14:53 +01:00
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