0
Answered
oday_merhi 1 month ago in Portia • updated by Pablo Vaz (Support Engineer) 1 month ago 1

Hello guys,


So i'm trying to scrape articles with certain texts in them. Can i teach my spider to scrape specific articles. For example if i was on a food site that had articles and i only wanted recipes with banana. Is there a way for me to set up the spider to only scrape the articles with the key word "banana"?


Thank you for your help!

Answer

Answer
Answered

Hey Oday, yes I think is possible to set up some kind of extractor using regular expressions.


If not possible with Portia, you can try with Scrapy:

https://helpdesk.scrapinghub.com/support/solutions/articles/22000201028-learn-scrapy-video-tutorials-


Best regards,


Pablo

Answer
Answered

Hey Oday, yes I think is possible to set up some kind of extractor using regular expressions.


If not possible with Portia, you can try with Scrapy:

https://helpdesk.scrapinghub.com/support/solutions/articles/22000201028-learn-scrapy-video-tutorials-


Best regards,


Pablo