diff --git a/README.md b/README.md new file mode 100644 index 0000000..1764b26 --- /dev/null +++ b/README.md @@ -0,0 +1,59 @@ +# nyaascrape + +![](https://img.shields.io/badge/written%20in-PHP-blue) + +a scraper and ui for maintaining a mirror of NyaaTorrents. + +Tags: anime, torrent, scraper + +## Scraper + +The command-line tool can be used to build up an sqlite3 database of most information hosted on Nyaa. It updates an existing sqlite3 database or creates a new one. To bring your database up-to-date, the `--update` option will determine the most recent torrents available and set the download-chunk options appropriately. It would be suitable to run this via `cron`. + + +``` +Usage: nyaascrape [options] +Options: + -b, --batches {number} Number of batches to download + -c, --count {number} Number of torrents to download per batch + --database {filename} Select output file + --get-latest-id Find the most recent Torrent ID on site + --help Display this message + --no-torrents Download entries only, no torrent files + -s, --start {number} Torrent ID to start processing from + --sukebei Download from sukebei instead of www + --test-file {file} Test parse local file containing nyaa html + -q Quiet, suppress output + --update Automatically set -s/-c/-b options to get all + the latest torrent entries + --url {http://.../} Set custom nyaa URL +``` + + +## Web Interface + +The web interface allows browse, search, and torrent downloading using an interface modelled on the live NyaaTorrents site. However, the following issues make it a little unsuitable for public / high-traffic access: + +- It shamelessly uses nyaa's own images and layout +- It works directly from the unindexed sqlite DB, so searches may be very slow against a full dump + +## Changelog + +2014-10-05: r13 +- Feature: Automatically set range parameters to bring database up-to-date (--update option) +- Feature: Set custom nyaa URL (--url option) +- Feature: Display most recent ID on site (--get-latest-id option) +- Sort usage-help alphabetically +- Remove site statistics from usage-help display +- [⬇️ nyaascrape_r13.7z](dist-archive/nyaascrape_r13.7z) *(66.28 KiB)* + + +2014-10-04: r6 +- Initial public release +- [⬇️ nyaascrape_r6.7z](dist-archive/nyaascrape_r6.7z) *(65.91 KiB)* + + +## See Also + +- Magnyaa, similar project http://root.suumitsu.eu/wiki/doku.php?id=php:magnyaa +- Fork with MySQL support by "odangomoe": https://github.com/odangomoe/nyaascrape/ ; changes are listed at https://github.com/odangomoe/nyaascrape/compare/ce7ff4e5a...6a2e49d/ diff --git a/dist-archive/nyaascrape_r13.7z b/dist-archive/nyaascrape_r13.7z new file mode 100644 index 0000000..515384e Binary files /dev/null and b/dist-archive/nyaascrape_r13.7z differ diff --git a/dist-archive/nyaascrape_r6.7z b/dist-archive/nyaascrape_r6.7z new file mode 100644 index 0000000..f79bced Binary files /dev/null and b/dist-archive/nyaascrape_r6.7z differ diff --git a/doc/micronyaa.png b/doc/micronyaa.png new file mode 100644 index 0000000..cb7b2fa Binary files /dev/null and b/doc/micronyaa.png differ