Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for bug #285 and possibly #301 #369

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

uvzz
Copy link

@uvzz uvzz commented Feb 11, 2024

Description

the bot sometimes detects reels as carousels with 0 items and stops responding for hours until it crashes

refer to:
#285 (comment)
#301 (comment)

Fixes # (issue)

In a case where a carousel is detected with 0 items - change the media type detected to Reel

How Has This Been Tested?

The test was running for several sessions. A carousel with 0 items was detected and the bot did not crash.

Test Configuration:

  • OS - Ubuntu 22
  • GramAddict Version: 3.2.9
  • Device Model or Emulator: Android Studio
  • Android Verison: 9.0
  • Instagram Version: 263.2.0.19.104

Checklist:

Needs testing in more configurations?

@uvzz uvzz changed the title Fix for bugs #285 and possibly #301 Fix for bug #285 and possibly #301 Feb 11, 2024
@drago1520
Copy link

I saw the problem. When the bot goes over a reel, cannot detect it is a reel, rather it says "It's a carousel with 0 photo(s) and 0 video(s). (views.py:918)". Then it clicks twice to like it, but it is taken to the instagram reel page. Then tries to scroll weakly and goes in an infinite loop (i have video proof and logs, add me on discord: drago1520).
Rn i am implementing the changes in views.py only, because i don't see how your other changes will help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants