We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5239763 + 63725ae commit 4d4d55aCopy full SHA for 4d4d55a
utils/gtn-import.py
@@ -57,7 +57,8 @@
57
link = entry.get("link", "")
58
summary = html.unescape(entry.get("summary", ""))
59
60
- slug = os.path.splitext(os.path.basename(link.rstrip("/")))[0]
+ id = entry.get("id", "")
61
+ slug = os.path.splitext(os.path.basename(id.rstrip("/")))[0]
62
folder = f"{date_ymd}-{slug}" if import_type == "news" else f"{slug}"
63
64
pr_exists = False
0 commit comments