Giter VIP home page Giter VIP logo

anime_website-parser's Introduction

Anime_Website-Parser

Parse some Anime websites for my use:

  • FansubDB.com
  • LiveChart.me
  • db.fansubs.com.br

Based on SimpleHTMLDom. Thanks for this project.

How to use it?

For FansubDB.com

  • Choose a wiki page and show the source code of the page.
  • Copy the table content from the line <table class="wikitable" style="width:100%"> to </td></tr></table> included.
  • Paste that on the file fansubdb.html present on this repo.
  • Visit fansubdb_parser.php on your php server
  • To fix the JSON content:
    • Replace },] by }]
    • Replace " by "
    • Replace " by "
    • Replace (LF)-> S by S

For LiveChart.me

  • Choose a page, add ?sortby=title&leftovers=no to the end of the URL.
  • Copy the source of the page on the file livechart.html present on this repo.
  • Visit livechart_parser.php on your php server

For db.fansubs.com.br

  • Choose a page from https://github.com/qgustavor/fansubdb/tree/master/_data/seasons
  • Save the .yml page on your computer
  • Change NAME_OF_THE_FILE in the file db_fansubs.html in the line: var nativeObject = YAML.load("NAME_OF_THE_FILE.yml"); with the name of the file you've downloaded some minutes ago.
  • Visit db_fansubs.html; no need of php server, only a browser!

anime_website-parser's People

Contributors

fansubdb 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.