Hi! First time poster here!I've been trying for some time to go over my many years of Facebook's Saved Posts, iterate over them and from each Post (many in private Groups) extract the description plus images. I've had zero success with GraphQL or scrapping from the backend, but I recently had some great success with Web Scraper Chrome Extension.The problem is that I don't seem to get the "Sitemap" right, specially when I try to "click" on the first image of a post, and then iterate over the remaining images to get their SRC.
In case anyone is interested, this is the sitemap I'm using. I can paginate over the different images, but I'm not getting any src.
Url: Redirecting...
Sitemap:
{
"_id":"facebook-saves",
"startUrl":[
"https://www.facebook.com/saved"
],
"selectors":[
{
"id":"posts-wrapper",
"parentSelectors":[
"_root"
],
"type":"SelectorElement",
"selector":" div.x9f619.x1n2onr6.x1ja2u2z > div > div > div > div.x78zum5.xdt5ytf.x1t2pt76.x1n2onr6.x1ja2u2z.x10cihs4 > div.x9f619.x2lah0s.x1nhvcw1.x1qjc9v5.xozqiw3.x1q0g3np.x78zum5.x1iyjqo2.x1t2pt76.x1n2onr6.x1ja2u2z.x1h6rjhl > div.x9f619.x1n2onr6.x1ja2u2z.xdt5ytf.x193iq5w.xeuugli.x1r8uery.x1iyjqo2.xs83m0k.x78zum5.x1t2pt76 > div > div > div > div > div:nth-child(2) > div:nth-child(3)",
"multiple":false
},
{
"id":"post-link",
"parentSelectors":[
"posts-wrapper"
],
"type":"SelectorLink",
"selector":".x1iyjqo2 a[target]",
"multiple":false,
"linkType":"linkFromHref"
},
{
"id":"description",
"parentSelectors":[
"post-link"
],
"type":"SelectorText",
"selector":".x1iorvi4.x1pi30zi span.x193iq5w",
"multiple":false,
"regex":""
},
{
"id":"first-image",
"parentSelectors":[
"post-link"
],
"type":"SelectorLink",
"selector":"div > div.x1n2onr6 > div > div > div > div:first-child > a:has(img:not([data-imgperflogname])), div:nth-child(2) > div.x1n2onr6 > a:has(img:not([data-imgperflogname]))",
"multiple":false,
"linkType":"linkFromHref"
},
{
"id":"paginator",
"parentSelectors":[
"first-image",
"paginator"
],
"paginationType":"clickMore",
"selector":"div.x6s0dn4.x1ey2m1c.x78zum5.xds687c.x1qughib.x10l6tqk.x17qophe.x13vifvy > div:nth-child(3) > div > div > div > i",
"type":"SelectorPagination"
},
{
"id":"carousel-image",
"parentSelectors":[
"paginator"
],
"type":"SelectorImage",
"selector":"img.x1bwycvy",
"multiple":false
}
]
}