mirror of
https://github.com/Decentralized-ID/decentralized-id.github.io.git
synced 2024-12-20 21:14:27 -05:00
change path
This commit is contained in:
parent
e29624a7d1
commit
a527c741be
@ -28,7 +28,7 @@ startDate = days_before.strftime("%Y-%m-%d, %H:%M:%S")
|
||||
|
||||
|
||||
#### Open CSV + Write Column Names
|
||||
fname = '/home/runner/work/decentralized-id.github.io/decentralized-id.github.io/_data/twitter/search_' + date_time + '.csv'
|
||||
fname = '_data/twitter/search_' + date_time + '.csv'
|
||||
csvFile = open(fname, 'w+')
|
||||
csvWriter = csv.writer(csvFile)
|
||||
csvWriter.writerow(["Time","Link", "Urls", "UrlTitle", "UrlDesc", "UrlImg", "ImageUrls", "ReplyURL", "QuoteID", "QuoteImg", "QuoteUrl"])
|
||||
@ -221,7 +221,7 @@ for batch in batches:
|
||||
r = twitter.post(url, data=json.dumps(params_add))
|
||||
print(r.json())
|
||||
|
||||
file_name = "/home/runner/work/decentralized-id.github.io/decentralized-id.github.io/_posts/twitter/" + str(date_time) + '-twitter.md'
|
||||
file_name = "_posts/twitter/" + str(date_time) + '-twitter.md'
|
||||
f = open(file_name,"w+")
|
||||
|
||||
str1 = "---\n"
|
||||
|
Loading…
Reference in New Issue
Block a user