add tgchan

This commit is contained in:
2019-09-08 16:34:46 -04:00
parent fd56531d6c
commit 2ce0659f23
4 changed files with 64 additions and 3 deletions

View File

@@ -60,8 +60,6 @@ class DesuChanHtmlChanHelper(ChanHelper):
for post_el in op_el.find_all("table", recursive=False):
label = post_el.find("label")
if not label:
print(post_el)
*_, time = label.children
yield {
"id": int(post_el.find("td", attrs={"class", "reply"}).get("id")[5:]),