Instapy: ValueError: invalid literal for int() with base 10: ' '

Created on 3 May 2018  路  3Comments  路  Source: timgrossmann/InstaPy

Traceback (most recent call last):
File "quickstart.py", line 37, in
session.like_by_tags(['natgeo'], amount=1)
File "/home/pi/InstaPy/instapy/instapy.py", line 985, in like_by_tags
skip_top_posts)
File "/home/pi/InstaPy/instapy/like_util.py", line 196, in get_links_for_tag
"//span[contains(@class, '_fd86t')]").text)
File "/home/pi/InstaPy/instapy/util.py", line 342, in format_number
return int(formatted_num)
ValueError: invalid literal for int() with base 10: ' '

Do you understand what's going on here?

wontfix

Most helpful comment

hi @Naponoel,
have a read https://github.com/timgrossmann/InstaPy/issues/1924#issuecomment-385247307 for solution

All 3 comments

hi @Naponoel,
have a read https://github.com/timgrossmann/InstaPy/issues/1924#issuecomment-385247307 for solution

@uluQulu
Works! thanks! 馃

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this problem still occurs, please open a new issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

harrypython picture harrypython  路  3Comments

ghost picture ghost  路  3Comments

wyvers picture wyvers  路  3Comments

rahulkapoor90 picture rahulkapoor90  路  3Comments

ediooo picture ediooo  路  3Comments