Updated deprecated module imports and various fixes to make it work out-of-the-box by prestonyun · Pull Request #6784 · InstaPy/InstaPy
Pull Request Template
Description
Out-of-the-box, this package fails due to some imports that seem to have changed. I updated the import statements to use the updated modules.
How Has This Been Tested?
Clarifi-util and other imports such as UNICODE_EMOJI now work.
- Test
Checklist:
- I have commented my code, particularly in hard-to-understand areas
- I have made corresponding changes to the documentation
- I have checked my code and corrected any misspellings
- I have performed a self-review of my own code
- My code follows the style guidelines of this project,
black -t py34 - My changes generate no new warnings
Can you tell me how step by step guideline ?
Probably the most straightforward way would be to install InstaPy from my fork:
pip install git+https://github.com/prestonyun/InstaPy.git
it is very confusing. i have wasted lots of time in it. i didn't find a solution. i'm not a programmer, can you tell me or show me the tutorial to get rid of this situation.
didnt work with you repo tho, cant find the right media, can u help @prestonyun ?
Hey guys, I added a couple more commits that fix the 'like' functionality. I haven't done anything to fix the other functions ('comment,' 'unfollow,' etc.), but I've been using Instagrapi and it is much easier to get working.
PLS HELP :(
[Session lasted 1.53 minutes]
INFO [2024-01-25 02:55:44] [smokehub_performance] Session ended!
INFO [2024-01-25 02:56:34] [smokehub_performance] Session started!
INFO [2024-01-25 02:56:41] [smokehub_performance] - Cookie file for user 'xxxxx' loaded...
WARNING [2024-01-25 02:56:54] [smokehub_performance] - Issue with cookie for user 'smokehub_performance'. Creating new cookie...
INFO [2024-01-25 02:56:54] [smokehub_performance] - Deleting browser cookies...
WARNING [2024-01-25 02:57:04] [smokehub_performance] Login A/B test detected! Trying another string...
WARNING [2024-01-25 02:57:09] [smokehub_performance] Could not pass the login A/B test. Trying last string...
INFO [2024-01-25 02:57:46] [smokehub_performance] Logged in successfully!
INFO [2024-01-25 02:57:46] [smokehub_performance] Saving account progress...
WARNING [2024-01-25 02:57:49] [smokehub_performance] Unable to save account progress, skipping data update
b"invalid literal for int() with base 10: '23\nfollowers'"
INFO [2024-01-25 02:57:52] [smokehub_performance] Sessional Live Report:
|> No any statistics to show
[Session lasted 1.41 minutes]
Pull Request Template
Description
Out-of-the-box, this package fails due to some imports that seem to have changed. I updated the import statements to use the updated modules.
How Has This Been Tested?
Clarifi-util and other imports such as UNICODE_EMOJI now work.
- Test
Checklist:
- I have commented my code, particularly in hard-to-understand areas
- I have made corresponding changes to the documentation
- I have checked my code and corrected any misspellings
- I have performed a self-review of my own code
- My code follows the style guidelines of this project,
black -t py34- My changes generate no new warnings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters