SpiderBt:电影链接下载Python爬虫

基于scrapy实现的一个电影迅雷链接下载工具

Python Web爬虫

详细介绍

SpiderBt

基于scrapy实现的一个电影迅雷链接下载工具

install

需要先安装好python3和scrapy,然后

git clone https://github.com/svenFeng/SpiderBt.git

使用

cd SpiderBt/bt/
scrapy crawl bt -a category="movie" -o "file"

其中moive填入你想要的电影名字,file是存放迅雷链接的文件,例如:

scrapy crawl bt -a category="教父" -o "test.json"

源码目录树

bt
├── bt
│   ├── __init__.py
│   ├── items.py
│   ├── pipelines.py
│   ├── __pycache__
│   │   ├── __init__.cpython-35.pyc
│   │   ├── items.cpython-35.pyc
│   │   └── settings.cpython-35.pyc
│   ├── settings.py
│   └── spiders
│       ├── __init__.py
│       ├── __pycache__
│       │   ├── __init__.cpython-35.pyc
│       │   └── spider.cpython-35.pyc
│       └── spider.py
├── scrapy.cfg
└── test.json