Skip to content

Fix issue #5002 with new feature - #5050

Merged
breuerfelix merged 5 commits into
InstaPy:devfrom
ianmihura:want_check_browser-Feature
Oct 14, 2019
Merged

Fix issue #5002 with new feature#5050
breuerfelix merged 5 commits into
InstaPy:devfrom
ianmihura:want_check_browser-Feature

Conversation

@ianmihura

Copy link
Copy Markdown
Contributor

Issue #5002 : internet connection status = error, when it should not be error
check_browser() function in login_util.py does some checks online that depend on some third party webpages to be available, which does not guarantee the integrity of the results of this check. To my experience this crashes more often than not.

New feature : want_check_browser boolean option at session start, prompts the user a possibility to decide if they want to perform this online check.

@christophe-duc

Copy link
Copy Markdown
Collaborator

@converge: what do you think? you were the one adding the checks. Let us know your thoughts.

@christophe-duc
christophe-duc changed the base branch from master to dev September 11, 2019 22:35
@breuerfelix

Copy link
Copy Markdown
Collaborator

@ianmihura could you please run black -t py34 . locally and commit the changes so the tests work ? :)

@ianmihura

Copy link
Copy Markdown
Contributor Author

I'm sorry for my lack of knowledge, but I have no global variable, executable or file named black

@riccardovalente

Copy link
Copy Markdown
Contributor

I'm sorry for my lack of knowledge, but I have no global variable, executable or file named black

Try pip3 install black

@ianmihura

Copy link
Copy Markdown
Contributor Author

Are there any follow-ups with this pull requests?

@breuerfelix

Copy link
Copy Markdown
Collaborator

@ianmihura sorry for not paying attention... guess everybody from the core team got a lot of stuff to do right now :S

are you able to add just a short section about this parameter in the documentation file ? guess then everything is done to merge this pr :)

@ianmihura

Copy link
Copy Markdown
Contributor Author

Short description added ;)

Hope it helps!

@timgrossmann

Copy link
Copy Markdown
Collaborator

Page that is checked is down (https://isitdownorjust.me), that's probably why it fails most of the time...

Relying on third party applications is error prune, we could just check the response code of simple get request to Instagram to check if it's there or not...

@breuerfelix
breuerfelix merged commit bcc1796 into InstaPy:dev Oct 14, 2019
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.

5 participants