Giter Site home page Giter Site logo

kappaflow / twitchcm Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 212 KB

Twitch Clips Manager provides probably the most advanced tool to fetch/download/delete/create Twitch clips. It has multiple modules united with a manager, and a command-line tool which can be used to interact with Twitch clips.

License: MIT License

Java 100.00%
clips clips-manager creator deleter downloader fetcher tool twitch twitch-api twitch-clips utility

twitchcm's People

Stargazers

 avatar  avatar  avatar  avatar

Forkers

blue-gg1

twitchcm's Issues

Unable to fetch clips from public broadcaster.. Error 400

make a call with params twitchcm -fetch -chId monkeys_forever

where monkeys_forever is a public broadcaster https://www.twitch.tv/monkeys_forever/clips?filter=clips&range=all

And the repsonse is :

Request body:
Response code: 200
Response text:
{"access_token":"REDUCED_TOKEN","expires_in":4818719,"token_type":"bearer"}
{clientId=REDUCED_ID, client_secret=REDUCED_SECRET, token_type=Bearer, access_token=REDUCED_TOKEN, expires_in=4818719}
StartedAt 2023-11-24T11:01:41.041429Z
EndedAt 2023-12-01T11:01:41.045342Z
deltaPeriod PT24H
Response code: 400
java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.twitch.tv/helix/users?id=monkeys_forever
Response text:
{"error":"Bad Request","status":400,"message":"Invalid username(s), email(s), or ID(s). Bad Identifiers."}
Cant process error response!
Can't get broadcaster login!
java.lang.NullPointerException: Cannot invoke "org.json.simple.JSONArray.get(int)" because "data_array" is null
at main.com.twitchcm.tool.Utils.getBroadcasterLogin(Utils.java:239)
at main.com.twitchcm.api.ClipsFetcher.fetchClips(ClipsFetcher.java:166)
at main.com.twitchcm.ClipsManager.fetchClips(ClipsManager.java:156)
at main.com.twitchcm.InputArgsProcessor.runFetch(InputArgsProcessor.java:213)
at main.com.twitchcm.InputArgsProcessor.runAction(InputArgsProcessor.java:97)
at main.com.twitchcm.InputArgsProcessor.run(InputArgsProcessor.java:657)
at main.Main.main(Main.java:10)

Error! The specified broadcasterId can't be found

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.