Giter VIP home page Giter VIP logo

bunsen-pepperflash's People

Contributors

johnraff avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

smersh2 tubbz-alt

bunsen-pepperflash's Issues

Use Adobe json flash download list instead of scraping web page

Adobe are now providing information about available flash plugin downloads in json format here: https://get.adobe.com/flashplayer/webservices/json
The server results can be narrowed down with query terms, and the json can easily be parsed with the jq utility. (jq is already a dependency of the bunsen-conky package.)

Examples:

  1. See the whole thing, formatted for readability: curl -s "https://get.adobe.com/flashplayer/webservices/json/" | jq '.'

  2. Linux, Chrome (PPAPI), 64-bit, get available version number: curl -s "https://get.adobe.com/flashplayer/webservices/json/?platform_type=Linux&platform_arch=x86-64&browser_dist=Chrome" | jq -r '.[0].Version'

  3. Same options, get download URL: curl -s "https://get.adobe.com/flashplayer/webservices/json/?platform_type=Linux&platform_arch=x86-64&browser_dist=Chrome" | jq -r '.[0].download_url'

Substitute x86-32 for 32-bit architecture.
NPAPI downloads are also available, but at this late stage in Flash's life cycle it might not be worth the effort thinking about them.

I propose rewriting update-bunsen-pepperflash using this; get-adobe-flashver.py would be unnecessary, and the data would be more reliable.

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.