In prior versions of InstaPy, interaction with a Users Followers provided a console log of the aggregated total of all the interactions.

In the current version of InstaPy, the console log only shows the total number of interactions.

Is it possible to revert back to the previous console logging format? It is helpful to see how effective each run is via the console summary.
Good idea! @gitpatrickhub
Can you implement it?
If not, if I implement, can you PR it? 馃槒
@uluQulu I can try to implement it, but need a bit of guidance on where this part of the code is managed. Just let me know which you prefer. Thanks!
That's amazing! @gitpatrickhub
There is always only one optimal solution to problems try to find it, challenge yourself! ^.^
Hint:
If you have any detailed question, feel free to ask.
Good luck!
@uluQulu after hitting send, I kind of figured your answer would be as such. I'll see what I can do.
Yes @gitpatrickhub 馃槄
It's because I am quite a self learner.
But I will share a few more tips to help you get started
InstaPy classself.logger.info('Liked: {}'.format(liked_img))
self.logger.info('Already Liked: {}'.format(already_liked))
self.logger.info('Commented: {}'.format(commented))
self.logger.info('Followed: {}'.format(followed))
self.logger.info('Inappropriate: {}'.format(inap_img))
self.logger.info('Not valid users: {}\n'.format(not_valid_users))
_Find and see those blocks and get only the lines which are needed. (e.g. you may not need liked_img counts)_
Sure, there are difficulties to get those values right away. Cos e.g. in features like interact_user_followers _likes_, _comments_ are handled by a separate function which does not return useful information like _liked_, _commented_, _inappropriate images_ counts, etc.
What you can do is to use class variables of those values.
The thing is at the start of the feature initialize those variables and at the end of the feature, take comparison to find out the fresh amounts spent inside that feature.
_e.g._
def interact_user_followers():
##ready to go state
#initialize and store current amounts in variables at top of feature
liked_img = self.liked_img
##do lots of stuff here
##it has done everything and ready to leave the feature (near last `return` value if any- some features do not have a return value)
#get fresh amounts by comparing old and new variables
like_img_new = self.liked_img - liked_img
#print that new amount
self.logger.info('Liked: {}'.format(liked_img))
#do other remaining last steps and leave feature
That is a simple example for doing reports at the end of the feature, but by using that idea and such kind of comparison, your can add reports inside desired steps, too, _e.g._ reporting after interaction with each user's followers/following or some other iterated container, etc.
And I noticed there are other features also missing this report.
Those I noticed are interact_user_followers, interact_user_following, follow_user_followers, follow_user_following.
_It could be great to add this report to them all,,,_
Regards
@uluQulu Thanks for the added guidance, I am working on a solution now, just need to run some tests.
@uluQulu my initial tests look good for interact_user_followers. In process of copying solution to the other features now. What's the best practice on git for others to test my changes? Push changes to my fork of the repo?
Sounds fantastic, @gitpatrickhub!
I have less git knowledge but I would recommend this:
That's how I do all time ^.^
Cheers
Most helpful comment
@uluQulu after hitting send, I kind of figured your answer would be as such. I'll see what I can do.