GithubHelp home page GithubHelp logo

megu-gfycat's Introduction

Megu Gfycat

Megu plugin for fetching Gfycat media content.

At the moment this package includes the following plugins:

Plugin Example URL
Gfycat Basic https://gfycat.com/pepperyvictoriousgalah-wonder-woman-1984-i-like-to-party

Installation

With the latest version of megu, you should be able to install the plugin via pip using a command similar to the following:

$ megu plugin add git+https://github.com/stephen-bunn/megu-gfycat.git
Installing Plugin $HOME/.config/megu/plugins
...

As always, this is still all heavily WIP.

API vs. Guesswork

If you set the following configuration in your environment, the plugin will automatically attempt to utilize the Gfycat API intead of trying to do guesswork on what content can be extracted from the given URL. The content the plugin extracts will contain a bunch more metadata and will be much more reliable than the guesswork solution that runs when the API logic is not enabled.

Name Description
MEGU_GFYCAT_API_ENABLED Case-insensitive, 1 or true is considered truthy. Otherwise the API logic is disabled.
MEGU_GFYCAT_API_TOKEN The Client ID that Gfycat gives you when you sign as a developer.
MEGU_GFYCAT_API_SECRET The Client secret that Gfycat gives you when you sign as a developer.

You can register for some API tokens at https://developers.gfycat.com/signup/#/.

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.