So i manage to get what i wanted but seems thath they blocked me, now i cannot get what i need, its a string from last post of a public facebook page,
So any idea for scrape? i just need to get publication text content from public facebook page, paying isnt a problem depending on price but i need to get each second/2seconds do the request for get them.
Code:
def Facebook():
try:
time.sleep(1)
proxies = {
'http': e()
}
r = requests.get('https://www.facebook.com/example/', verify=True,proxies=proxies)
print(r.text)
words = re.findall('String (.{24})', r.text)
z = words[0]
x = re.split('\s+', z)
except IndexError:
print("Something failed in facebook call, request cannot find / blocked")
pass
So any idea for scrape? i just need to get publication text content from public facebook page, paying isnt a problem depending on price but i need to get each second/2seconds do the request for get them.