File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5506,7 +5506,10 @@ extractor.reddit.user.only
55065506Type
55075507 ``bool ``
55085508Default
5509- ``trur ``
5509+ ``user-saved ``
5510+ ``false ``
5511+ otherwise
5512+ ``true ``
55105513Description
55115514 Only process and return posts from the user specified in the input URL.
55125515
Original file line number Diff line number Diff line change 714714
715715 "user": {
716716 "only": true
717+ },
718+ "user-saved": {
719+ "only": false
717720 }
718721 },
719722 "redgifs":
Original file line number Diff line number Diff line change @@ -319,8 +319,8 @@ def submissions(self):
319319 self .kwdict ["user" ] = user = self .api .user_about (username )
320320
321321 submissions = self .api .submissions_user (
322- user [ "name" ] + (sub or "" ), text .parse_query (qs ))
323- if self .config ("only" , True ):
322+ ( user . get ( "name" ) or username ) + (sub or "" ), text .parse_query (qs ))
323+ if self .config ("only" , sub != "/saved" ):
324324 submissions = self ._only (submissions , user )
325325 return submissions
326326
You can’t perform that action at this time.
0 commit comments