intake-reddit: old.reddit.com
This commit is contained in:
parent
eafc8f3abb
commit
327a79479d
|
@ -180,7 +180,7 @@ def main():
|
||||||
|
|
||||||
# Link
|
# Link
|
||||||
if post_link := post_data.get("permalink"):
|
if post_link := post_data.get("permalink"):
|
||||||
item["link"] = f"https://reddit.com{post_link}"
|
item["link"] = f"https://old.reddit.com{post_link}"
|
||||||
|
|
||||||
# TTL
|
# TTL
|
||||||
item["ttl"] = SORT_TTL.get(sub_sort, 60 * 60 * 24 * 8)
|
item["ttl"] = SORT_TTL.get(sub_sort, 60 * 60 * 24 * 8)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "intake-reddit"
|
name = "intake-reddit"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
intake-reddit = "intake_reddit.core:main"
|
intake-reddit = "intake_reddit.core:main"
|
||||||
|
|
Loading…
Reference in New Issue