Skip to content

Commit

Permalink
feat: add facebook post comments scraper (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardofelgueiras authored Jul 31, 2024
1 parent 2191d15 commit 8f83de2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/scrappers/facebook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
url: https://www.facebook.com*
listElementsQuery: '[role="dialog"] [role="article"]'
elementParser:
- title: Name
query: 'div:nth-child(2) > div > div > div > div > span'
type: text

- title: Comment
query: 'div:nth-child(2) > div > div > div > div > div > span > div'
type: text

0 comments on commit 8f83de2

Please sign in to comment.