Commit Graph

68 Commits

Author SHA1 Message Date
virusdefender
0ad4fa386e
增加日志配置 2016-04-28 21:38:55 +08:00
virusdefender
12acb60076
分离robot和server的配置 2016-04-28 20:26:57 +08:00
virusdefender
e73903a934
poj爬虫中没有判断waiting,导致归为了RE 2016-04-23 15:35:50 +08:00
virusdefender
295d72ff95
修复codeforces获取题目中缺少id和submit_url字段的问题 2016-04-23 15:12:25 +08:00
virusdefender
de77a75650
修复poj中的问题
- 没有实现save方法
 - 登录错误的时候也是302,使用is_logged_in判断登录状态
2016-04-23 15:10:39 +08:00
virusdefender
e1e887b5d6
修复hudoj爬虫中的问题
- 没有实现save方法
 - 返回的题目信息中应该是id不是problem_id
2016-04-23 13:35:37 +08:00
virusdefender
61b6b7684d Merge branch 'poj' into server
* poj:
  增加POJ的爬虫部分
2016-04-08 20:25:16 +08:00
virusdefender
4dda5730af pat页面结构有修改 2016-04-08 20:13:04 +08:00
virusdefender
e8eca5a0fc 初步完成提交题目的异步任务 2016-04-08 18:16:38 +08:00
spxcds
bddbfa2733 增加POJ的爬虫部分 2016-04-08 16:39:04 +08:00
virusdefender
f445dc93fd Accept Merge Request #10 增加codeforces爬虫 : (codeforces -> master)
Merge Request: 增加codeforces爬虫
Created By: @virusdefender
Accepted By: @virusdefender
URL: https://coding.net/u/virusdefender/p/openvj/git/merge/10
2016-03-09 15:57:53 +08:00
virusdefender
6463d7d289 增加CoreForces爬虫逻辑
Squash from 1c30880 to e991657 by virusdefender
2016-03-09 15:57:35 +08:00
virusdefender
eec8a30052 Merge branch 'master' into ltwy 2016-03-06 19:30:29 +08:00
virusdefender
317db05fe2 获取题目详情的时候时间和内存统一单位;修改部分逻辑 2016-03-06 19:26:13 +08:00
ltwy
4909ad519c 修复获取compile error信息的ug 2016-03-06 19:02:52 +08:00
virusdefender
ad0a988efb pat增加save方法和spj返回字段 2016-03-06 19:01:32 +08:00
virusdefender
0898902c10 删除部分检查登录状态的函数并增加save方法 2016-03-06 18:41:47 +08:00
ltwy
88e54e0cfd 修复交题相关bug调整函数接口
-修复匹配正则时match自动从头开始匹配
-改善get_result方法实现逻辑
-与父类统一接口
2016-03-06 18:28:17 +08:00
ltwy
b9dbab453f 完成获取提交结果接口 2016-03-06 15:55:00 +08:00
ltwy
344ded3189 Merge branch 'master' of git.coding.net:virusdefender/openvj into ltwy 2016-03-06 14:53:27 +08:00
ltwy
f4b15d0a1f 还原对master的pat.py的修改 2016-03-06 14:53:07 +08:00
virusdefender
e83ecc7c24 增加提示字段和转换PAT时间内存单位 2016-03-06 13:26:38 +08:00
Lost_in_wine
5a687c00c4 修正部分bug
- 修正robots类中过滤掉<img>标签的错误
 - 增加HdojRobots中"spj"以及"hint"的功能
2016-03-06 13:22:29 +08:00
Lost_in_wine
47b6f55e28 Merge branch 'Lost_in_wine' of https://git.coding.net/virusdefender/openvj into Lost_in_wine 2016-03-05 21:30:52 +08:00
Lost_in_wine
cbcf5ed38a 将内存由单位KB转换为单位M 2016-03-05 21:24:48 +08:00
Lost_in_wine
c2a03c4864 Merge branch 'master' of https://git.coding.net/virusdefender/openvj into Lost_in_wine 2016-03-05 21:23:50 +08:00
ltwy
1ed0cce64b 完成题目扒取和提交接口 2016-03-05 21:23:20 +08:00
virusdefender
7118f0cb61 增加spj参数和时间内存单位 2016-03-05 21:18:32 +08:00
virusdefender
ab18b1bec8 删除无用文件 2016-03-05 20:58:15 +08:00
Lost_in_wine
66703c9cd7 Merge branch 'master' into Lost_in_wine 2016-03-05 20:48:33 +08:00
virusdefender
97995ab8bc Merge branch 'dev'
Conflicts:
	robots/pat.py
2016-03-05 20:47:38 +08:00
Lost_in_wine
af1da2b379 修正编码问题,格式问题,html解码问题
- Hdu的gcc版本过老, "//"无法使用
 - 采集到的html都要调用robots的_clean_html
2016-03-05 20:40:09 +08:00
Lost_in_wine
4d7aced9c5 完成Hduoj提交代码与获取结果的功能 2016-03-05 18:43:27 +08:00
Lost_in_wine
11d2605c43 Merge branch 'master' of https://git.coding.net/virusdefender/openvj into Lost_in_wine 2016-03-05 17:10:02 +08:00
virusdefender
01483a1b6a 修复正则中不正确的转义 2016-03-05 16:57:57 +08:00
ltwy
c177a25df6 随手一保存 2016-03-05 16:20:30 +08:00
virusdefender
f5f4a35c00 按照父类修改部分参数;pat开始使用https,修改旧url 2016-03-05 15:53:50 +08:00
virusdefender
0b0a2cbd85 父类中修改部分参数
- 获取题目详情的时候增加返回题目的submit_url,id参数使用原始的id,尤其是杭电等oj,获取提交结果会用到
 - submit方法增加了origin_id参数,url参数改名为submit_url
 - get_result方法增加username参数
2016-03-05 15:48:08 +08:00
ltwy
432a95945a Merge branch 'master' into ltwy 2016-03-05 13:36:51 +08:00
Lost_in_wine
347900417e Merge branch 'master' into Lost_in_wine 2016-03-05 13:17:59 +08:00
virusdefender
43c5cb2825 Merge branch 'master' into dev 2016-03-05 10:05:11 +08:00
virusdefender
775017fd7c fix typo 2016-03-05 09:38:18 +08:00
ltwy
ec8b9941b2 do some function and test 2016-03-04 23:31:24 +08:00
ltwy
67d5a409c7 add new function 2016-03-04 17:02:07 +08:00
ltwy
32a3e40923 modify some function 2016-03-04 15:40:32 +08:00
ltwy
0dd93ba70f create zoj.py 2016-03-04 15:18:42 +08:00
ltwy
8960375001 test 2016-03-04 15:13:20 +08:00
virusdefender
6773082bfd 增加codeforces的题目详情的正则表达式 2016-03-03 17:46:32 +08:00
virusdefender
4dddbe59f9 增加clean_html的父类方法 2016-03-03 17:37:05 +08:00
virusdefender
8e89837ba0 创建CodeForces的部分逻辑 2016-03-03 14:43:55 +08:00