Closed arda1984 closed 10 months ago
Same genuine issue.
It's stuck in
Press Enter to start the setup... Are you running this tool for first time? (y/n) : n Initializing login... Logging with previous session...
Okay, I will check this issue. for more quick response you can DM me in insta : @avnshrathod
Okay, I will check this issue. for more quick response you can DM me in insta : @avnshrathod
Same problem
Okay, I will check this issue. for more quick response you can DM me in insta : @avnshrathod
I tried running the code again and this might be the problem:
`Traceback (most recent call last): File "C:\Users\Arda\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instagrapi\mixins\private.py", line 342, in _send_private_request response.raise_for_status() File "C:\Users\Arda\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://i.instagram.com/api/v1/feed/timeline/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Instagram-Reels-Scraper-Auto-Poster-2.0\src\app.py", line 18, in
Same
We are slowly getting closer to the solution, I thought that I visit https://i.instagram.com/api/v1/feed/timeline/ by google chrome and it turned out that it gives a json response saying that we should wait a couple minutes, even though I waited for days. So I decided to turn a vpn on and it seems to have fixed that problem, I thought that I restart "start.py" then, after it asked me if I run that file the first time I said no, then some other error came unfortunately:
`Press Enter to start the setup... Are you running this tool for first time? (y/n) : n Initializing login... Logging with previous session... Traceback (most recent call last): File "C:\Users\Arda\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instagrapi\mixins\private.py", line 342, in _send_private_request response.raise_for_status() File "C:\Users\Arda\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://i.instagram.com/api/v1/feed/timeline/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Instagram-Reels-Scraper-Auto-Poster-2.0\src\app.py", line 18, in
Resolved in latest commit @arda1984 @mitanshh227k @Bussin537 @Amagedon5
Describe the bug Everything was fine when running start.py but after 5 posts posting every 4 hours each it start.py stopped somehow, it logs in and just does nothing. I thought that this may have something to do with the session so I deleted session.json and tried running it again, this time it logged in but didn't do anything even though I kept running start.py for like an hour. As you can see on the screenshot it just stays like this
Expected behavior Log in and start posting with the interval given as always.
Screenshots ![Ekran görüntüsü 2023-06-25 144014](https://github.com/Avnsh1111/Instagram-Reels-Scraper-Auto-Poster/assets/70358147/643bbfa4-0a3b-413e-8b5c-6c78
Version Newest one
Additional context Thank you for reviewing the problem