PTT-Chatbot/Crawler/main.py

5 lines
115 B
Python

from PTTCrawler import PTTCrawler
crawler = PTTCrawler("Gossiping", 'index29686.html')
posts = crawler.getPosts()