mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
less logspam
This commit is contained in:
parent
34622230b0
commit
841098cc18
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ def scrape_posts(account):
|
|||
)
|
||||
handle = account[0]
|
||||
outbox = account[1]
|
||||
print("Scraping {}".format(handle))
|
||||
# print("Scraping {}".format(handle))
|
||||
c = db.cursor()
|
||||
last_post = 0
|
||||
c.execute("SELECT COUNT(*) FROM `posts` WHERE `fedi_id` = %s", (handle,))
|
||||
|
@ -94,7 +94,7 @@ def scrape_posts(account):
|
|||
db.commit()
|
||||
|
||||
db.commit()
|
||||
print("Finished scraping {}".format(handle))
|
||||
# print("Finished scraping {}".format(handle))
|
||||
|
||||
print("Establishing DB connection")
|
||||
db = MySQLdb.connect(
|
||||
|
|
Loading…
Reference in a new issue