Git Product home page Git Product logo

bunny-cdn-file-check's Introduction

Bunny CDN Video Checker

There currently appears to be an issue where, if you upload a video before checking on MP4 ballback on BunnyCDN, videos can be left in a state where the MP4 videos are not transcoded.

In order to fix this, you must contact BunnyCDN's support team.

This tool will help you identify affected videos. It will check an entire stream container for the status of transcoded videos.

Setup and install

It is recommended you use a virtual environment to run this application, however, that is not required.

Install the dependencies for the application

pip install -r requirements.txt

You will need the information from the "API" tab on your stream container.

In Bunny CDN, go to the Stream tab, then click API. Note down the following:

  • Video Library ID
  • CDN Hostname
  • API Key

You can run the application like so:

python check_bunny.py --library-id yourlibraryid --hostname yourcdnhostname --api-key yourapikey --content 720,1080,1440 -o result.xlsx

The options are:

Short Long Description
-l --library_id The "Library ID" field value in the API tab of the stream container you wish to check
-K --api-key The "API Key" field value in the API tab of the stream container you wish to check
-H --hostname The "CDN Hostname" field value in the API tab of the stream container you wish to check
-C --content A comma separated list of the content you'd like to check for, eg: 720p, 1080p, hls, etc. The "p" is optional for mp4 videos
-R --referer Sets a referer on the request to the content in order to bypass the direct access setting
-o --out File to save the results to. Supports .json and .xlsx

bunny-cdn-file-check's People

Contributors

codebykyle avatar

Watchers

 avatar  avatar

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.