How To Install Scrapy In Debian, Ubuntu, Arch, Kali, Fedora And Raspbian?
Maintainer: Debian Python Modules Team
Email: [email protected] .
Website: http://scrapy.org/
Section: python
Install scrapy
-
Debian
apt-get install python-scrapyClick to copy -
Ubuntu
apt-get install python-scrapyClick to copy -
Arch Linux
pacman -S scrapyClick to copy -
Kali Linux
apt-get install python-scrapyClick to copy -
Fedora
dnf install python-scrapyClick to copy -
Raspbian
apt-get install python-scrapyClick to copy
Web-crawling framework.
How to use scrapy?
Below are few example commands for scrapy that you can use in the terminal.
Create a project:scrapy startproject project_nameClick to copyCreate a spider (in project directory):scrapy genspider spider_name website_domainClick to copyEdit spider (in project directory):scrapy edit spider_nameClick to copyRun spider (in project directory):scrapy crawl spider_nameClick to copyFetch a webpage as scrapy sees it and print source in stdout:scrapy fetch urlClick to copyOpen a webpage in the default browser as scrapy sees it (disable javascript for extra fidelity):scrapy view urlClick to copyOpen scrapy shell for url, which allows interaction with the page source in python shell (or ipython if available):scrapy shell urlClick to copy
To install the latest version of scrapy in your favorite operating system just copy the scrapy installation command from above and paste it into terminal. It will download and install the latest version of scrapy 2026 package in your OS.




