main.py 333 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2 3 4
from src.ebook.extract_book_code import extract_code
from src.ebook.community import send_topic

if __name__ == "__main__":
ToTensor's avatar
ToTensor 已提交
5
    # extract_code()
ToTensor's avatar
ToTensor 已提交
6
    web_url = 'https://gitcode.net/csdn/content/book_id_08fd0c7025a4a34a97a29897b067d24/-/tree/master/'
ToTensor's avatar
ToTensor 已提交
7 8
    print('-------' * 20)
    print('开始向社区发帖')
ToTensor's avatar
ToTensor 已提交
9
    send_topic(web_url)