Skip to content

Commit

Permalink
fix incorrect post number read over 1k posts
Browse files Browse the repository at this point in the history
  • Loading branch information
duartefdias committed Nov 23, 2020
1 parent c3d0e2f commit 3370ec9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ describe('Instagram fast commenter', function() {

// Convert value of posts on target profile from string to int
var numberOfPostsInt = numberOfPostsString.replace('.','');
numberOfPostsInt.replace(' ','');
numberOfPostsInt = parseInt(numberOfPostsInt, 10);

if(numberOfPostsInt != numberOfPostsOnTargetProfile){
Expand Down

1 comment on commit 3370ec9

@afaqsahi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wanna post comment on 60.8k post it posting comment again and again on same post

Please sign in to comment.