nicolas-raoul / oxygenpump Goto Github PK
View Code? Open in Web Editor NEWDownloads the wikicode of Wikitravel.org articles (which are Creative Commons Attribution-ShareAlike 3.0)
Home Page: http://code.google.com/p/oxygenpump/
License: Other
Downloads the wikicode of Wikitravel.org articles (which are Creative Commons Attribution-ShareAlike 3.0)
Home Page: http://code.google.com/p/oxygenpump/
License: Other
Download all articles from Wikitravel in wikicode format. Be responsible! Overloading Wikitravel's servers is in the interest of nobody. Don't run this script if a reasonably fresh dump is already available. If you run it, make the dump public and be sure to give the link here: http://wikitravel.org/en/Wikitravel_talk:How_to_re-use_Wikitravel_guides The script takes about 14 days to download all articles. Whatever you do with the data, conform to the data's license. See: http://wikitravel.org/shared/How_to_re-use_Wikitravel_guides Usage: groovy -classpath lib/nekohtml.jar:lib/xercesImpl.jar oxygenpump.groovy Data is stored in the "wikicode" directory. Author: Nicolas Raoul http://nicolas-raoul.blogspot.com
In case a download fails (bad filename, nonexistent URL etc) it should not crash the whole downloader.
It should skip download (and the download waiting, too) if the file already exists locally and is larger than empty.
It loks like it crashes on articles that have slash in them.
Caught: java.io.FileNotFoundException: wikicode/Afghanistan/Northeast.wikicode (No such file or directory)
at oxygenpump.getWikicode(oxygenpump.groovy:123)
at oxygenpump$_run_closure1.doCall(oxygenpump.groovy:111)
at oxygenpump.run(oxygenpump.groovy:106)
It could skip the download of list of articles, and just use the existing list. That way, the list can be manually edited to not to download failing articles, or even to make subsections..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.