Closed May81273 closed 3 years ago
But in elements of website, I can find page_id. I don't know why there is no page_id in resp.text.
I use this page_id, then I get result sucessfully.
Hi @May81273, It's good to hear you had solved this problem. If you like this project, please give me support. Either donate, star or share are good for me, tks!
I got the same problem"IndexError: list index out of range". pageurl is"https://www.facebook.com/josepereiracoutinho.macau" The resp of this url is different from other url, There is no page_id in resp so when "pageid = re.findall('page_id=(.*?)"',resp.text)[0]" runs, page_id try to get list[0[ from a empty list. Could you solve this qusetion? Thanks,