【文件属性】:
文件名称:leetcode2-LeetCodeSpider:leetcode.com上一个抓问题的python爬虫
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-29 21:32:25
系统开源
leetcode
2
自述文件
去做:
Daemonized
crawler,可以实时保存最新接受的提交。
特征:
在
leetcode.com
上保存过滤的问题
保存您最近接受的所有提交
笔记:
要保存您的提交,请确保config.ini的字段已正确填写。
使用指定语言保存的问题将被忽略
保存问题时,不能同时指定category和tag
多个标签/类别/难度/数字现在用空格而不是逗号分隔
依赖:
Python>
=
3.4
python3-beautifulsoup4
4.3.2
python3-请求
2.7.0
命令:
usage:
grasp.py
[-h]
{show_tags,show_cate,save,save_sub}
...
positional
arguments:
{show_tags,show_cate,save,save_sub}
Available
commands
show_tags
Display
available
tags
or
problems
with
specified
tags
show_cate
Display
available
cate
【文件预览】:
LeetCodeSpider-master
----config.ini(32B)
----grasp.py(10KB)
----.gitignore(18B)
----requirement.txt(38B)
----README.md(2KB)
----crawler.py(9KB)