With dry-run, print title of post.

This is to easy validation results.
This commit is contained in:
Hartmut Goebel
2020-09-25 21:03:56 +02:00
parent 60d74188c3
commit 7c7f1c049c

View File

@ -67,7 +67,7 @@ def main():
(k, v.encode("utf-8") if hasattr(v, "encode") else v)
for k, v in entry.items()))
if args.dry_run:
print("trial run, not tooting")
print("trial run, not tooting ", entry["title"][:50])
continue
media_ids = []
for img in entry.get("images", []):