Switch to new reddit
This commit is contained in:
parent
3a6190247a
commit
2d35362764
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ async def post_embeds(sub: Sub, post: Submission) -> Optional[List[Embed]]:
|
|||
Args:
|
||||
post: Post to build embeds
|
||||
"""
|
||||
url = "https://np.reddit.com" + post.permalink
|
||||
url = "https://reddit.com" + post.permalink
|
||||
await post.author.load()
|
||||
author_url = f"https://reddit.com/u/{post.author.name}"
|
||||
images = []
|
||||
|
|
Loading…
Add table
Reference in a new issue