Parse some Anime websites for my use:
- FansubDB.com
- LiveChart.me
- db.fansubs.com.br
Based on SimpleHTMLDom. Thanks for this project.
- Visit a page on:
- 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.htmlpresent on this repo. - Visit
fansubdb_parser.phpon your php server - To fix the JSON content:
- Replace
},]by}] - Replace
"by" - Replace
"by" - Replace (LF)->
SbyS
- Replace
- Choose a page, add
?sortby=title&ongoing=noneto the end of the URL. - Copy the source of the page on the file
livechart.htmlpresent on this repo. - Visit
livechart_parser.phpon your php server
- Choose a page from https://github.com/qgustavor/fansubdb/tree/master/_data/seasons
- Save the
.ymlpage on your computer - Change
NAME_OF_THE_FILEin the filedb_fansubs.htmlin 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!