clean up scraping output

This commit is contained in:
muskit
2023-08-21 03:10:46 -07:00
parent daa5dd1752
commit 41be4f374d
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -177,6 +177,7 @@ class Scraper:
tt = TalentTweet.create_from_tweety(t)
if tt.is_cross_company():
ret.append(tt)
print(f'Found {len(ret)}/{len(tweets)} TalentTweets')
return ret
if __name__== '__main__':
+2 -2
View File
@@ -139,8 +139,8 @@ class TalentTweet:
try: self.all_parties.remove(self.author_id)
except: pass
if not self.is_cross_company():
print(f'WARNING: {self.tweet_id} is not cross-company!')
# if not self.is_cross_company():
# print(f'WARNING: {self.tweet_id} is not cross-company!')
def __repr__(self) -> str: