Skip to content

rzilleruelo/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chess

Install

###PhantomJS On mac, install using brew.

brew install phantomjs

Compile, test and Package the code

mvn clean package

Games download

The games can be downloaded in two steps. First building the list of all games. To do execute the following script. For example:

phantomjs src/main/js/chess_tempo/get_index.js \
	data/chess_tempo_index_20140101.jsons

. Second, downloading the games from the built index. The index can be downloaded inparallel by running multiples instances of the script, indicating the index and the number of scripts to be executed.

for i in {1..10}; do
	phantomjs src/main/js/chess_tempo/games_retriever.js \
		data/chess_tempo_index_20140101.jsons \
		$i \
		10 \
		data/games_20140101_$i.jsons&
done

####Sample crawled data

Todo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors