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

Issues on fetching followers #28

Closed
jason050196 opened this issue Mar 20, 2022 · 4 comments
Closed

Issues on fetching followers #28

jason050196 opened this issue Mar 20, 2022 · 4 comments
Assignees
Labels
bug Something isn't working status: fixed

Comments

@jason050196
Copy link

There are 2 issues,

  1. The program opens up a browser but the size is default 740x360, which it won't open a followers dialog since the UI is in mobile UI and thus it returns the following error:
    Error during users scrapping from followers dialog box for 'emmabrown4288' user

It actually opens an overlapping element instead, so I changed the screen size to 1920x1080 for testing and it seems worked.
(I found this is optional since I can update the path for selenium instead of changing the screen size)

However, every time I run the program, there is always an error:
Failed users fetching: Empty users result. Check logs tab for more details

I doubted it was due to the followers dialog was not opened properly so I checked there is a function called "navigateUserFollowersList" and updated the path, finally it worked opening the dialog. However, it still returns the same error message about the empty users result

@jason050196 jason050196 added the bug Something isn't working label Mar 20, 2022
@hbollon
Copy link
Owner

hbollon commented Mar 21, 2022

Hey @jason050196,
I will have a look and keep you updated

@hbollon hbollon self-assigned this Mar 21, 2022
@hbollon
Copy link
Owner

hbollon commented Mar 21, 2022

Seems fixed on my side, I do a new release 👍
I'll try to improve the xpath handling method to avoid these kind of breaking due to changes from instagram html layout.

@jason050196
Copy link
Author

So much appreciated!
I tested and it still have the empty user list when I tested on a source account with only 2 followers, but another source account with 30+ followers and it worked like a charm

Seems fixed on my side, I do a new release +1 I'll try to improve the xpath handling method to avoid these kind of breaking due to changes from instagram html layout.

@hbollon
Copy link
Owner

hbollon commented Mar 22, 2022

Glad your issue is solved! 😉
Seems weird that the scrapper have troubles on short followers list, I will have a look on that topic.
Anyways I close this issue 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: fixed
Projects
None yet
Development

No branches or pull requests

2 participants