torrentio-scraper/scraper
2020-12-22 11:44:27 +01:00
..
lib [scraper] encode uri component for kitsu id query 2020-12-19 14:52:39 +01:00
manual [scraper] small adjustments 2020-11-29 23:38:28 +01:00
scheduler [scraper] update seeders for not found providers 2020-12-14 12:21:38 +01:00
scrapers [scraper] improves nyaapantsu printed error 2020-12-22 11:44:27 +01:00
index.js [scraper] rework scraper scheduling and added seeders updating 2020-04-23 16:46:04 +02:00
README.md [scraper] rework scraper scheduling and added seeders updating 2020-04-23 16:46:04 +02:00

Torrentio Scraper

Initial dumps

The Pirate Bay

https://mega.nz/#F!tktzySBS!ndSEaK3Z-Uc3zvycQYxhJA

https://thepiratebay.org/static/dump/csv/

Kickass

https://mega.nz/#F!tktzySBS!ndSEaK3Z-Uc3zvycQYxhJA

https://web.archive.org/web/20150416071329/http://kickass.to/api

RARBG

Scrape movie and tv catalog using www.webscraper.io for available imdbIds and use those via the api to search for torrents.

Movies sitemap

{"_id":"rarbg-movies","startUrl":["https://rarbgmirror.org/catalog/movies/[1-4235]"],"selectors":[{"id":"rarbg-movie-imdb-id","type":"SelectorHTML","parentSelectors":["_root"],"selector":".lista-rounded table td[width='110']","multiple":true,"regex":"tt[0-9]+","delay":0}]}

TV sitemap

{"_id":"rarbg-tv","startUrl":["https://rarbgmirror.org/catalog/tv/[1-609]"],"selectors":[{"id":"rarbg-tv-imdb-id","type":"SelectorHTML","parentSelectors":["_root"],"selector":".lista-rounded table td[width='110']","multiple":true,"regex":"tt[0-9]+","delay":0}]}

Migrating Database

When migrating database to a new one it is important to alter the files_id_seq sequence to the maximum file id value plus 1.

ALTER SEQUENCE files_id_seq RESTART WITH <last_file_id + 1>;