want my program to show me the titles with specific keywords. How do I filter the scraped data to show my keywords?
NB: My keywords are going to be very large. Any better way to implement this?
I used to work with Scrapy and BeautifulSoup. With the latter you can use CSS or XPath selectors (via translating the DOM to Python object). Here is some help with selectors: https://docs.scrapy.org/en/latest/topics/selectors.html#topics-selectors
Обсуждают сегодня