Skip to content

Commit

Permalink
feat: add instagram (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Fernandes authored Feb 8, 2024
1 parent 1d5aa01 commit 937448a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
16 changes: 16 additions & 0 deletions src/scrappers/instagram.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
url:
- https://www.instagram.com/*/following/
- https://www.instagram.com/*/followers/
listElementsQuery: '[role="dialog"] > div > div:nth-child(2) > div > div > div:nth-child(3) > div > div > div, [role="dialog"] > div > div:nth-child(2) > div > div > div:nth-child(4) > div > div > div'
elementParser:
- title: Follower handler
query: 'a[role="link"] span'
type: text

- title: Follower name
query: 'span[dir="auto"]:nth-child(2)'
type: text

- title: Profile link
query: 'a'
type: clean-url
18 changes: 0 additions & 18 deletions src/tik-tok-search.yml

This file was deleted.

0 comments on commit 937448a

Please sign in to comment.