Giter Club home page Giter Club logo

torrents-crawler's Introduction

Torrents-Crawler

This is a scrapy project in which I have implemented several crawlers for different torrent and direct link websites. This project crawls for the title and the url only right now because this was my only requirement.

###Dependency:

  • Scrapy pip install scrapy

###Websites currently supported:

  • Piratebay
  • Kickass
  • 1337x
  • SkidrowCrack
  • TorrentDownloads
  • SumoTorrent
  • BitSnoop

###How to run a crawler: If you want to run a crawler then goto the top level directory which is piratebay and issue this command: $ scrapy crawl piratebay (see TODO) This command will run the piratebay crawler. Names for all of the crawlers are:

  • piratebay
  • leetx
  • bitsnoop
  • sumotorrent
  • torrentdownloads
  • kickass
  • skidrowcrack

###TODO: Currently I have not added any pipeline so right now if we want to save the crawled data we will have to issue one of the following commands:

  • scrapy crawl piratebay -o items.json -t json
  • scrapy crawl piratebay -o items.csv -t csv
  • scrapy crawl piratebay -o items.xml -t xml
  • scrapy crawl piratebay -o items.json -t jsonlines
    If anyone is willing to write an ItemPipeline then feel free to submit a PR

###How to add support: If you want to add further support for some more websites then feel free to edit this crawler. Just go to piratebay/piratebay/spiders/piratebay_spider.py and edit that file. Copy one of the class and edit it to adapt for another website. Basically you will have to edit the xpaths, link to .txt file and the name of the crawler. After that copy all of the links which you want to crawl and paste them in a new text file in piratebay/links/. Thats it. After that just run your crawler.

###Author:

###Support: Official scrapy docs If there is an issue with the scripts present here do open an issue or if you want me to add support for a website do tell me.

###Contribute: You can contribute literally anything. Whether a new crawler or some small optimisations. Just do a PR and make this project grow.

Note: This project is not maintained anymore.

torrents-crawler's People

Contributors

yasoob avatar willwillems avatar alexriina avatar placeybordeaux avatar

Watchers

James Cloos avatar Eliseo  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.