Ultimate-Facebook-Scraper/selectors.json
Amit Y d654c55344 Added gitgnore entries used during dev.
Added the option to set comments in input.txt file
Added options to scrape group posts and single group post (automatically identify the link)
2020-04-14 17:06:05 +03:00

33 lines
No EOL
1.6 KiB
JSON

{
"status": ".//div[@class='_5wj-']",
"sections_bar": "//*[@class='_3cz'][1]/div[2]/div[1]",
"status_exc": ".//div[@class='userContent']",
"temp": ".//div[@class='_3x-2']",
"title": ".//span[@class='fwb fcg']",
"title_exc1": ".//span[@class='fcg']",
"title_exc2": ".//span[@class='fwn fcg']",
"title_element": ".//div[@class='_1dwg _1w_m']",
"background_img_links": "//*[contains(@id, 'pic_')]/div/i",
"firefox_profile_path": "/home/zeryx/.mozilla/firefox/0n8gmjoz.bot",
"facebook_https_prefix": "https://",
"facebook_link_body": ".facebook.com/",
"spotlight": "spotlight",
"default_image": "10354686_10150004552801856_220367501106153455_n.jpg",
"height_script": "return document.body.scrollHeight",
"scroll_script": "window.scrollTo(0, document.body.scrollHeight);",
"title_text": "fb-timeline-cover-name",
"profilePicThumb": "profilePicThumb",
"fb_link": "https://en-gb.facebook.com/",
"single_post" : ".//div[contains(@class, '_5pcr')]",
"post_photos": ".//a[contains(@class, '_5dec') or contains(@class, '_4-eo')]",
"post_photo_small" : ".//img[contains(@class, '_46-i')]",
"post_photo_small_opt1" : ".//img[contains(@class, 'scaledImageFitWidth') or contains(@class, 'scaledImageFitHeight')]",
"comment_section" : ".//*[@class='commentable_item']",
"comment" : ".//div[@aria-label='Comment']",
"comment_author" : ".//a[@class='_6qw4']",
"comment_text" : ".//span[contains(@class,'_3l3x')]",
"more_comment_replies": ".//a[contains(@class,'_4sxc _42ft')]",
"comment_see_more_link" : ".//a[contains(@class,'_5v47 fss')]",
"comment_reply" : "..//..//div[@aria-label='Comment reply']"
}