Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.26 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.26 KB

Warning: Magiccards.info已经下线,该爬虫已无法使用。

A Crawler For MTGInfo

一个从Magiccards.info抓取卡牌信息的爬虫,可在python 2.7.x的环境下运行。数据会被保存为INI文件。只抓取中文卡牌数据。
It is a crawler for Magiccards.info, could run in Python 2.7.x. Date saved as INI file. Only get Chinese card information.

要使用这个爬虫,你需要:
Python(2.7.0或更高,但不要是Python 3)
Selenium
To use this crawler, you need:
Ptyhon(2.7.0 or higher but not Python 3)
Selenium

下载之后运行crawler.py:
python crawler.py
Dowaload it and run crawler.py:
python crawler.py
 
爬虫会需要你输入一些数据,必须要准确输入:
 系列缩写;
 系列卡牌数量;
 起始录入编号;(一般是1)
The crawler would ask you some question, you should input it CORRECTLY:
 系列缩写(The abbreviation of the series)
 系列卡牌数量(The numbers of cards in this series)
 起始录入编号(The startpoint of your crwaler, usually be 1)

  本项目仅是个人习作,对可靠性不做保证。
This project is just an excerice for myself. I can't guarantee the stability.