Skip to content

WenShihKen/Zerojudge-AC-Code-Crawler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Zerojudge-AC-Code-Crawler

爬zerojudge的AC code

Dependencies

Screenshot

img

遇到的問題

  • 照之前的方法直接使用html.parser解析遇到textarea會有下面的問題,後來改用html5lib解析就解決了
<textarea>
#include<stdio.h> // BeatifulSoup會把<stdio.h>視為標籤,導致讀取出來的東西錯誤
int main(){
  return 0;
}
</textarea>
  • windows檔名問題,懶人解決方法
# 刪除windows保留字
questionName = questionName.replace("\\","").replace(".","").replace("?","").replace("*","").replace("/","").replace("|","").replace(":","").replace(">","").replace("<","").replace("\"","")

About

爬zerojudge的AC code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%