diff --git a/findAlreadyTreatedCommentsCount.py b/findAlreadyTreatedCommentsCount.py new file mode 100755 index 0000000..7fc6ad9 --- /dev/null +++ b/findAlreadyTreatedCommentsCount.py @@ -0,0 +1,12 @@ +#!/usr/bin/python3 + +PREFIX = 'Comments per second: ' +alreadyTreatedCommentsCount = 0 + +with open('nohup.out') as f: + lines = f.read().splitlines() + for line in lines: + if PREFIX in line: + alreadyTreatedCommentsCount += int(line.split(PREFIX)[-1]) + +print(alreadyTreatedCommentsCount) diff --git a/findLatestTreatedCommentsForChannelsBeingTreated.py b/findLatestTreatedCommentsForChannelsBeingTreated.py old mode 100644 new mode 100755 diff --git a/findTreatedChannelWithMostComments.py b/findTreatedChannelWithMostComments.py old mode 100644 new mode 100755 diff --git a/findTreatedChannelWithMostSubscribers.py b/findTreatedChannelWithMostSubscribers.py old mode 100644 new mode 100755 diff --git a/removeChannelsBeingTreated.py b/removeChannelsBeingTreated.py old mode 100644 new mode 100755 diff --git a/retrieveTop100SubscribersFrance.py b/retrieveTop100SubscribersFrance.py old mode 100644 new mode 100755