add plus4chan

This commit is contained in:
2019-11-22 12:14:23 -05:00
parent 82578daecd
commit ee666496e0
3 changed files with 95 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ class Kev4PhpHelper(ChanHelper):
for threadEl in soup.find_all("p", class_="info"):
threads.append({
"id": int(threadEl.find("a").get("id")[len("expandButtun"):]),
"id": int(threadEl.find("a").get("id")[len("expandButton"):]),
"omit": int(threadEl.text.split(" ")[1])
})