Closed mekkkwiz closed 3 months ago
Hi, for Facebook, the app expects cookies file to be named cookies.txt
. For Instagram, it seems like your username does not exist. You need to specify the username that you log in with. You can also just skip this step and not provide the instagram session and username, which should work for all public and not age restricted posts.
Thank you for your help! The issue has been resolved.
I am encountering issues with a bot designed to scrape Facebook and Instagram and post content to Discord. Despite adding necessary configurations in the Dockerfile, there are warnings and failures affecting the bot's performance.
Steps to Reproduce
COPY instagram.sess ./
COPY facebook_cookies.txt ./
INSTAGRAM_USERNAME
in the environment variables.Expected Behavior
Actual Behavior
WARNING:facebook_scraper.page_iterators:No raw posts (<article> elements) were found in this page.
Failed downloading
on Discord.Logs:
Additional Information:
Bot version: 0.20.3 Docker version: 4.32.0 (157355) Operating System: windows 11
Attachments: