Skip to content

Commit

Permalink
passing the Post to find page Name instead of the whole driver as the…
Browse files Browse the repository at this point in the history
… page name is changed to h1 from strong
  • Loading branch information
moda20 committed Aug 16, 2024
1 parent 769ca58 commit f15baa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebook_page_scraper/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def __find_elements(self, minimum_timestamp):

# finds name depending on if this facebook site is a page or group (we pass a post obj or a webDriver)
name = Finder._Finder__find_name(
post if self.isGroup else self.__driver, self.__layout) # find name element for page or for each post if this is used for group pages
post, self.__layout) # find name element for page or for each post if this is used for group pages


post_content = Finder._Finder__find_content(
Expand Down

0 comments on commit f15baa0

Please sign in to comment.