Kick out followertxt.py which isn't going to be used anymore
This commit is contained in:
parent
114fc04b43
commit
0a4de77aae
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import twitools, setuptools
|
|
||||||
import os, time, tweepy
|
|
||||||
|
|
||||||
def getOutDir(dirname="followers"):
|
|
||||||
if not os.path.isdir(dirname):
|
|
||||||
os.mkdir(dirname)
|
|
||||||
|
|
||||||
def getOutFile(dirname="followers"):
|
|
||||||
getOutDir(dirname)
|
|
||||||
return os.path.join(dirname, str(int(time.time())) + ".txt")
|
|
||||||
|
|
||||||
def writeOutFile(outfile=getOutFile()):
|
|
||||||
with open(getOutFile(), 'a') as f:
|
|
||||||
for follower in twitools.getNamesByIDs(twitools.getFollowerIDs()):
|
|
||||||
f.write(follower + "\n")
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
writeOutFile()
|
|
Loading…
Reference in a new issue