Instapy: Switch language to 驴Dutch? And fails to login

Created on 9 Dec 2017  路  5Comments  路  Source: timgrossmann/InstaPy

Switch the webpage language from English (default) to Dutch and then fails to login.

https://github.com/timgrossmann/InstaPy/blob/db6b7cc4670884cb8b000cabad336b26dc865ebb/instapy/login_util.py#L16-L21

help wanted

All 5 comments

@espipj You don't want to change the language...
The whole thing will fail at several points if you change the language, what do you think is the advantage if you change it?

Yes I mean in the execution Firefox starts with English for Instagram by default, and suddlenly It goes through that if clause and execute that line, which in my case the result is that the instagram webpage turns into 驴dutch? language instead continue being in english... I'm executing it from Spain.

Solved it by commeting that 2 lines.

@espipj Which lines?

Lines 16 to 22

My fault! Just seen the firefox example and it sets the "set_switch_language" to False.
So sorry! ;)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thisishotdog picture thisishotdog  路  3Comments

converge picture converge  路  3Comments

seuraltimez picture seuraltimez  路  3Comments

wyvers picture wyvers  路  3Comments

Spyd3r0us picture Spyd3r0us  路  3Comments