[patreon] yield metadata for paywalled posts as well (#6582)
https://github.com/mikf/gallery-dl/issues/6582#issuecomment-2998535431
This commit is contained in:
@@ -45,10 +45,10 @@ class PatreonExtractor(Extractor):
|
|||||||
|
|
||||||
for post in self.posts():
|
for post in self.posts():
|
||||||
|
|
||||||
|
yield Message.Directory, post
|
||||||
if not post.get("current_user_can_view", True):
|
if not post.get("current_user_can_view", True):
|
||||||
self.log.warning("Not allowed to view post %s", post["id"])
|
self.log.warning("Not allowed to view post %s", post["id"])
|
||||||
continue
|
continue
|
||||||
yield Message.Directory, post
|
|
||||||
|
|
||||||
post["num"] = 0
|
post["num"] = 0
|
||||||
hashes = set()
|
hashes = set()
|
||||||
|
|||||||
Reference in New Issue
Block a user