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

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