Git Product home page Git Product logo

www101weiqicom's Introduction

使用说明:

#方法一:

1. 在本文件的同级目录下打开powershell shift+右键 可以看到powershell

2. pip install scrapy

3. 环境变量

4. 重启powershell

5. scrapy crawl DownloadSgf

方法二:

直接运行carwl.exe

如果你有棋谱可以先执行方法一的第一步,然后: .\sgf2gif.exe 你棋谱所在的文件夹

视频教程

https://www.bilibili.com/video/BV1cD42137R4/

[CrawlingTargets] #详见https://www.101weiqi.com/questionlib/
classification=其他分类题目
#级别 例如:15K
level=吃子题目
#要从第几页开始抓取
StartPage=1
#要抓取多少页
EndPage=2
#抓取延迟,网站有反爬机制,单IP建议不要调太低
delay=0.1

[options]
#播放速度:
#输入正整数, 数值越小速度越快, 默认值是50
delay = 50;
#显示手数:
#输入正整数N, 表示显示最后N手, 可以为0
numbers = 0;
#棋谱分割:
#按手数分割棋谱, 有两种格式, 均要求间隔大于5
#(A) 星号+数字N, 表示每N手分割一次. 例: *50
#(B) 空格分割, 递增的整数序列. 例: 120 170 260
#也可留空, 表示不分割
splitCount = 0;
#棋子大小:
#15 ~ 50 (像素)
cw = 23;

www101weiqicom's People

Watchers

homuraLan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.