diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bcd4cd..506b7ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ Twitch Downloader change log ============================ +1.14.0 (2021-01-14) +------------------- + +* Added `info` command for displaying video or clip info (#51) +* Fixed Twitch regression for getting the access token (#53) + 1.13.1 (2020-11-23) ------------------- diff --git a/README.md b/README.md index 7c8dc99..25cbf30 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,39 @@ pipx install twitch-dl Usage ----- +This section does an overview of available features. + +To see a list of available commands run: + +``` +twitch-dl --help +``` + +And to see description and all arguments for a given command run: + +``` +twitch-dl --help +``` + +### Print clip or video info + +Videos can be referenced by URL or ID: + +``` +twitch-dl info 863849735 +twitch-dl info https://www.twitch.tv/videos/863849735 +``` + +Clips by slug or ID: + +``` +twitch-dl info BusyBlushingCattleItsBoshyTime +twitch-dl info https://www.twitch.tv/bananasaurus_rex/clip/BusyBlushingCattleItsBoshyTime +``` + +Shows info about the video or clip as well as download URLs for clips and +playlist URLs for videos. + ### Listing videos List recent streams for a given channel: @@ -87,27 +120,6 @@ List recent streams for a given channel: twitch-dl videos bananasaurus_rex ``` -Yields (trimmed): - -``` -Found 33 videos - -221837124 -SUPER MARIO ODYSSSEY - Stream #2 / 600,000,000 -Bananasaurus_Rex playing Super Mario Odyssey -Published 2018-01-24 @ 12:05:25 Length: 3h 40min - -221418913 -Dead Space and then SUPER MARIO ODYSSEY PogChamp -Bananasaurus_Rex playing Dead Space -Published 2018-01-23 @ 02:40:58 Length: 6h 2min - -220783179 -Dead Space | Got my new setup working! rexChamp -Bananasaurus_Rex playing Dead Space -Published 2018-01-21 @ 05:47:03 Length: 5h 7min -``` - Use the `--game` option to specify one or more games to show: ``` @@ -116,7 +128,7 @@ twitch-dl videos --game "doom eternal" --game "cave story" bananasaurus_rex ### Downloading videos -Download a stream by ID or URL: +Download a video by ID or URL: ``` twitch-dl download 221837124 diff --git a/setup.py b/setup.py index 8b947be..84eea24 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ makes it faster. setup( name='twitch-dl', - version='1.13.1', + version='1.14.0', description='Twitch downloader', long_description=long_description.strip(), author='Ivan Habunek', diff --git a/twitchdl/__init__.py b/twitchdl/__init__.py index b2b3e50..24ad9f7 100644 --- a/twitchdl/__init__.py +++ b/twitchdl/__init__.py @@ -1,3 +1,3 @@ -__version__ = "1.13.1" +__version__ = "1.14.0" CLIENT_ID = "kimne78kx3ncx6brgo4mv6wki5h1ko"