reddit has a max context of 8

remotes/1719271479679251571/master
Aevann 2024-02-28 21:47:01 +02:00
parent c49adc60a9
commit f2e0df7d05
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ def normalize_url(url):
if netloc == 'old.reddit.com': if netloc == 'old.reddit.com':
x = reddit_comment_link_regex.search(url) x = reddit_comment_link_regex.search(url)
if x: if x:
filtered['context'] = 69 filtered['context'] = 8
hash = x.group(1).replace('/', '#thing_t1_') hash = x.group(1).replace('/', '#thing_t1_')
new_url = ParseResult(scheme="https", new_url = ParseResult(scheme="https",