We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f193f22 commit ba47dfbCopy full SHA for ba47dfb
1 file changed
scripts/real_madrid/official_news.py
@@ -148,12 +148,12 @@ def getArticleData(url):
148
print("✅ Message sended to telegram successfully")
149
150
# Save to database:
151
- # print("Save url to database - Saving...")
152
- # save_to_database(
153
- # collection=realMadridArticlesCollection,
154
- # data={"article_url": url, "source": SOURCE_NAME},
155
- # )
156
- # print("✅ Url saved to database successfully")
+ print("Save url to database - Saving...")
+ save_to_database(
+ collection=realMadridArticlesCollection,
+ data={"article_url": url, "source": SOURCE_NAME},
+ )
+ print("✅ Url saved to database successfully")
157
158
print("\n✅ Script End - Exitting...")
159
except Exception as e:
0 commit comments