clean up scraping output
This commit is contained in:
@@ -177,6 +177,7 @@ class Scraper:
|
|||||||
tt = TalentTweet.create_from_tweety(t)
|
tt = TalentTweet.create_from_tweety(t)
|
||||||
if tt.is_cross_company():
|
if tt.is_cross_company():
|
||||||
ret.append(tt)
|
ret.append(tt)
|
||||||
|
print(f'Found {len(ret)}/{len(tweets)} TalentTweets')
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
if __name__== '__main__':
|
if __name__== '__main__':
|
||||||
|
|||||||
+2
-2
@@ -139,8 +139,8 @@ class TalentTweet:
|
|||||||
try: self.all_parties.remove(self.author_id)
|
try: self.all_parties.remove(self.author_id)
|
||||||
except: pass
|
except: pass
|
||||||
|
|
||||||
if not self.is_cross_company():
|
# if not self.is_cross_company():
|
||||||
print(f'WARNING: {self.tweet_id} is not cross-company!')
|
# print(f'WARNING: {self.tweet_id} is not cross-company!')
|
||||||
|
|
||||||
|
|
||||||
def __repr__(self) -> str:
|
def __repr__(self) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user