Commit Graph

110 Commits

Author SHA1 Message Date
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
24be9524eb Merge branch 'master' of git.coding.net:virusdefender/openvj
# By Lost_in_wine (1) and virusdefender (1)
# Via Lost_in_wine
* 'master' of git.coding.net:virusdefender/openvj:
  增加提示字段和转换PAT时间内存单位
  修正部分bug  - 修正robots类中过滤掉<img>标签的错误  - 增加HdojRobots中"spj"以及"hint"的功能
2016-03-06 13:41:24 +08:00
virusdefender
67a5ccdfee 修正sql中的部分错误 2016-03-06 13:41:01 +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
virusdefender
bf2fd884d1 增加提示字段和转换PAT时间内存单位 2016-03-06 11:21:16 +08:00
virusdefender
1c4247d342 Accept Merge Request #7 : (Lost_in_wine -> master) 2016-03-06 10:24:32 +08:00
virusdefender
c6a13fa842 创建数据库结构sql 2016-03-05 21:32:10 +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
99cace36c7 增加全局content-type和apikey验证 2016-03-05 09:48:42 +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
virusdefender
55b37a74d7 增加服务器端的框架和数据库配置 2016-03-04 19:14:56 +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
Lost_in_wine
4dec3affb4 修正hdoj爬虫部分bug 2016-03-02 22:06:08 +08:00
Lost_in_wine
72d11bb59a 提交hdoj爬取题目的代码 2016-03-02 21:51:54 +08:00
virusdefender
9cbc11c15f 增加部分docstring 2016-03-02 16:41:14 +08:00
virusdefender
7dba05104e 删除main.py 2016-03-02 15:21:25 +08:00
virusdefender
d1e3d373ca 增加html实体解码 2016-03-02 13:21:34 +08:00
virusdefender
7790489a2d pat在编译错误的时候也返回编译错误详情 2016-03-02 12:32:57 +08:00
virusdefender
ec98851272 增加pat获取提交结果的逻辑 2016-03-02 11:36:14 +08:00
virusdefender
3384a91327 增加pat提交题目的代码
同时增加了获取csrf token的逻辑
2016-03-01 20:56:33 +08:00
virusdefender
2171d1cebe 增加problem_id 2016-03-01 17:12:45 +08:00