Skip to content

A web crawler for Magiccards.info, get card information include card name, card cost, rule text and prices from this site. Date saved as INI file.

Notifications You must be signed in to change notification settings

phiwyc/CrawlerForMTGInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

A web crawler for Magiccards.info, get card information include card name, card cost, rule text and prices from this site. Date saved as INI file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages