This commit is contained in:
2025-05-04 12:57:22 +10:00
parent ccddefbc8b
commit 504d7f6349
4 changed files with 14 additions and 29 deletions
+3 -3
View File
@@ -249,7 +249,7 @@ def curate_from_google_trends(geo_list=['US']):
final_summary = insert_link_naturally(final_summary, source_name, link)
post_data, author, category, image_url, image_source, uploader, pixabay_url = prepare_post_data(final_summary, title, main_topic)
post_data, author, category, image_url, image_source, uploader, page_url = prepare_post_data(final_summary, title, main_topic)
if not post_data:
attempts += 1
continue
@@ -280,7 +280,7 @@ def curate_from_google_trends(geo_list=['US']):
original_source=original_source,
image_source=image_source,
uploader=uploader,
pixabay_url=pixabay_url,
page_url=page_url,
interest_score=interest_score,
should_post_tweet=True
)
@@ -304,7 +304,7 @@ def curate_from_google_trends(geo_list=['US']):
original_source=original_source,
image_source=image_source,
uploader=uploader,
pixabay_url=pixabay_url,
page_url=page_url,
interest_score=interest_score,
post_id=post_id,
should_post_tweet=False