Giter Club home page Giter Club logo

twitchvods's Introduction

TwitchVods

A console app which pulls all of the past broadcast data from the Twitch.tv API for specified channels and creates webpages from the data.

It creates pages such as this: https://tvods.se/v/lirik.html

The app is built using .Net CORE 3.1.

You will need to specify your own settings in a settings.json file. An example one is included in the project.

You will also need a Client-ID from twitch to use this and specify it in the settings.json file. Read about the Client-ID here:

https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843

twitchvods's People

Contributors

camjac251 avatar randomuser99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ac8453 offroads

twitchvods's Issues

Inconsistent Pulling Of A Channels Videos

Hey, firstly would like to say thank you for this wonderful service as it makes it so much easier to watch older twitch vods. However i have noticed an issue with regards to the pulling of older videos on the channel DansGaming.

Often it will pull all of his videos, but then other times it will only pull a limited number making it impossible to resume where you left off if the video you were watching is older than the date it decided to stop pulling videos past.

Would be grateful if this was able to be fixed.

String was not recognized as a valid DateTime

I've tried using .NET core as well as the full visual studio 2017 and both give the same result. A dll with other files is generated so I try runnning the dll directly and get this error

C:\Users\User\Desktop\TwitchVods-master\TwitchVods.Core\bin\Debug\netcoreapp2.0>dotnet TwitchVods.Core.dll
TwitchTool, starting

Unhandled Exception: System.AggregateException: One or more errors occurred. (String was not recognized as a valid DateTime.) ---> System.FormatException: String was not recognized as a valid DateTime.
   at System.DateTimeParse.ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style)
   at CallSite.Target(Closure , CallSite , Type , Object , String , CultureInfo )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
   at TwitchVods.Core.Models.Video.FromJson(Object data) in C:\Users\User\Desktop\TwitchVods-master\TwitchVods.Core\Models\Video.cs:line 89
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   at TwitchVods.Core.Twitch.VideoFetcher.<GetVideos>d__2.MoveNext() in C:\Users\User\Desktop\TwitchVods-master\TwitchVods.Core\Twitch\VideoFetcher.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at TwitchVods.Core.Worker.<GetVideos>d__5.MoveNext() in C:\Users\User\Desktop\TwitchVods-master\TwitchVods.Core\Worker.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at TwitchVods.Core.Worker.<WriteChannelVideos>d__4.MoveNext() in C:\Users\User\Desktop\TwitchVods-master\TwitchVods.Core\Worker.cs:line 27
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at TwitchVods.Core.Program.<MainAsync>d__1.MoveNext() in C:\Users\User\Desktop\TwitchVods-master\TwitchVods.Core\Program.cs:line 31
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at TwitchVods.Core.Program.Main(String[] args) in C:\Users\User\Desktop\TwitchVods-master\TwitchVods.Core\Program.cs:line 16

C:\Users\User\Desktop\TwitchVods-master\TwitchVods.Core\bin\Debug\netcoreapp2.0>

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.