()
| 76 | |
| 77 | |
| 78 | def visit_board(): |
| 79 | path = "/thread-htm-fid-224-page-%d.html" |
| 80 | for idx in range(0, 1): |
| 81 | rsp = get(path % idx) |
| 82 | logging.debug(rsp) |
| 83 | for tid, name in re.findall(re_thread, rsp.text): |
| 84 | visit_thread(tid, name) |
| 85 | open(done_path, "w").write("\n".join(done_urls)) |
| 86 | |
| 87 | |
| 88 | def main(): |
no test coverage detected