Skip to content

'ascii' codec can't encode character when fetching posts for hashtag #327

@mavris

Description

@mavris

Please follow the guide below

  • Issues submitted without this template format will be ignored.
  • Please read the questions carefully and answer completely.
  • Do not post screenshots of error messages or code.
  • Put an x into all the boxes [ ] relevant to your issue (==> [x] NO spaces).
  • Use the Preview tab to see how your issue will actually look like.
  • Issues about reverse engineering is out of scope and will be closed without response.
  • Any mention of spam-like actions or spam-related tools/libs/etc is strictly not allowed.

Before submitting an issue, make sure you have:

  • Updated to the lastest version v1.6.0
  • Read the README and docs
  • Searched the bugtracker for similar issues including closed ones
  • Reviewed the sample code in tests and examples

Which client are you using?

  • app (instagram_private_api/)
  • web (instagram_web_api/)

Describe the Bug/Error:

When I try to fetch posts with any hashtag I am getting this error. This was working fine until recently.

Paste the output of python -V here:
Python 2.7.11
Code:

    try:
        rank_token = Client.generate_uuid()
        tag_results = []
        results = api.feed_tag('blinds', rank_token)
    except Exception as e:
        print(e)
        if hasattr(e, 'message'):
            print(e.message)
        else:
            print(e)

Error/Debug

  • [ ]
  • Log:
  • [ ]
'ascii' codec can't encode character u'\u2728' in position 1213: ordinal not in range(128)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions