Skip to content

Commit

Permalink
More robust button selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Yomguithereal committed Nov 3, 2023
1 parent 26a4bf9 commit 31219d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minet/facebook/emulated_scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
from minet.facebook.types import FacebookComment


VIEW_MORE_COMMENTS_RE = re.compile(r"View\s+.+more\s+comments?", re.I)
VIEW_MORE_REPLIES_RE = re.compile(r"View\s+.+more\s+replies", re.I)
VIEW_MORE_COMMENTS_RE = re.compile(r"View\s+.*more\s+comments?", re.I)
VIEW_MORE_REPLIES_RE = re.compile(r"View\s+.*more\s+replies", re.I)
VIEW_MORE_SUBREPLIES_RE = re.compile(r"^\s*\d+\s+replies", re.I)


Expand Down

0 comments on commit 31219d6

Please sign in to comment.