[reddit] use REST API by default (#8559)

This commit is contained in:
Mike Fährmann
2025-11-16 19:17:08 +01:00
parent 6ee7096558
commit 3b33c25378
3 changed files with 4 additions and 3 deletions

View File

@@ -394,7 +394,7 @@ class RedditAPI():
self.morecomments = config("morecomments", False)
self._warn_429 = False
if config("api") == "rest":
if config("api") != "oauth":
self.root = "https://www.reddit.com"
self.headers = None
self.authenticate = util.noop