djefts / SemanticSecurity

Leveraging Web User Analysis through Ontologies to Intelligently Generate Reliable Security Questions
3 stars 0 forks source link

Facebook Friend Scraping Does Not Work #3

Closed djefts closed 3 years ago

djefts commented 3 years ago

Related to #14

Friend scraper method only grabs a few of the friends in the friends list if the user has more than 20-30 friends.

Search should be split into two parts:

friends_section = find_css(div[data-pagelet="ProfileAppSection_1"])

then:

friends_elements = friends_section.find_css()

djefts commented 3 years ago

https://github.com/elkshadow5/SemanticSecurity/blob/188087434e99e9433e392eae482987eecf9d7ccc/src/fb_scraper_api.py#L121-L134