Giter VIP home page Giter VIP logo

twitch-unjail's People

Contributors

jimmyc888 avatar swent avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

twitch-unjail's Issues

Getting error downloading vods. Recovery mode works. [BUG]

Describe the bug
Inputting vod URL in interactive mode causes program to close. Console mode results in error below.

Url used
https://www.twitch.tv/videos/1832819833

Console output
ERR
Response status code does not indicate success: 410 (Gone).

at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at TwitchUnjail.Core.Api.GetVideoInfo(String)
at TwitchUnjail.Core.VodHandler.RetrieveVodInformation(String)
at TwitchUnjail.Cli.Program.RunVodDownloadCli(String, String[])
at TwitchUnjail.Cli.Program.Main(String[])

Feedback

Hello swent,

This is in response to the comment asking if I would like to try out this tool.
I have only downloaded a few twitch VoDs so far and here are my first impressions.

I really like:

  • The progress bar. Downloading 3-4 hour VoDs takes a while with my connection and being able to estimate how long is left is really useful.
  • The auto-generated name. Uses the twitch title which is really convenient.

Other than that, I ran into a bug where the VoD got stuck downloading at about 72%. I killed it, launched a new download using the same URL and it worked fine. Maybe the first time my network connection dropped? I don't know, just writing here to let you know this did happen, but I can't reproduce it.

A few QoL improvements I that think would be nice:

  1. Ability to parse out extra stuff from the URL (for example, https://www.twitch.tv/videos/1203465185?filter=archives&sort=time does not work, but removing the part after "?filter" does https://www.twitch.tv/videos/1203465185).

  2. It would be useful to have access to the speed limiter in interactive mode
    (that's the mode I think most users would use).

  3. Ability to list some VoD URLs in a file and download all of them one after the other.
    This would be useful since I tend to download in batches when nobody is home / using the network.

  4. Potentially ability to pause in the middle of a download. (or after finishing the current segment).
    Just a thought, not sure if this is actually valuable.

  5. Potentially the ability to self-regulate download speed using some metric? The limiter is usually good enough, but if the ISP doesn't guarantee minimum speeds (they don't in my country), it can be hard to pick a good speed limit.
    Instead, we could have the tool download a segment as fast as it can, and then pause for the same amount of time it took to download that segment.
    Using more concrete numbers, let's say the tool requests some metric percent_pause_between_segments, ranging from 0 to infinity, where 0 means no pause (let's suppose 50% in this example). While downloading a segment, the downloader measures the time it took for that segment, let's say t_last = 30 seconds. After finishing, the downloader pauses for percent_pause_between_segments / 100 * t_last. In this case, that would be 0.50 * 30 seconds = 15 seconds, before starting the next segment.
    While this does leave bandwidth unused, it does make sure that other applications don't get bandwidth starved without needing the user to input a hard speed limit which won't adjust to network conditions.

Anyway, these are my thoughts after trying it out so far. I think it's pretty good already, and some of those QoL improvements would make it even more convenient to use.

Cheers.

Your twitch downloader is perfect!!

Hello, your twitch video downloader went very fast.
I have a personal suggestion for you.

The downloader's progress seemed to be updated horizontally.
Could you please allow it to be updated vertically?

Thank you for making such a great program!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.