[scrolller] support album posts (#7339)
This commit is contained in:
@@ -43,34 +43,45 @@ __tests__ = (
|
||||
{
|
||||
"#url" : "https://scrolller.com/cabin-in-northern-finland-7nagf1929p",
|
||||
"#class": scrolller.ScrolllerPostExtractor,
|
||||
"#urls" : "https://yocto.scrolller.com/cabin-in-northern-finland-93vjsuxmcz.jpg",
|
||||
"#urls" : "https://static.scrolller.com/yocto/cabin-in-northern-finland-93vjsuxmcz.jpg",
|
||||
|
||||
"albumUrl" : None,
|
||||
"count" : 1,
|
||||
"displayName" : None,
|
||||
"extension" : "jpg",
|
||||
"filename" : "cabin-in-northern-finland-93vjsuxmcz",
|
||||
"fullLengthSource": None,
|
||||
"gfycatSource" : None,
|
||||
"hasAudio" : None,
|
||||
"hasAudio" : False,
|
||||
"height" : 1350,
|
||||
"id" : 10478722,
|
||||
"isNsfw" : False,
|
||||
"isOptimized" : False,
|
||||
"isPaid" : None,
|
||||
"isPaid" : False,
|
||||
"mediaSources" : list,
|
||||
"num" : 0,
|
||||
"ownerAvatar" : None,
|
||||
"redditPath" : "/r/AmateurPhotography/comments/jj048q/cabin_in_northern_finland/",
|
||||
"redgifsSource" : None,
|
||||
"subredditId" : 0,
|
||||
"subredditId" : 413,
|
||||
"subredditTitle" : "AmateurPhotography",
|
||||
"subredditUrl" : "/r/AmateurPhotography",
|
||||
"tags" : None,
|
||||
"title" : "Cabin in northern Finland",
|
||||
"url" : "https://yocto.scrolller.com/cabin-in-northern-finland-93vjsuxmcz.jpg",
|
||||
"username" : None,
|
||||
"url" : "https://static.scrolller.com/yocto/cabin-in-northern-finland-93vjsuxmcz.jpg",
|
||||
"username" : "",
|
||||
"width" : 1080,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://scrolller.com/long-comic-the-twelve-tasks-of-eve-12ch1ve8ko",
|
||||
"#class" : scrolller.ScrolllerPostExtractor,
|
||||
"#pattern": r"https://static\.scrolller\.com/\w+/long-comic-the-twelve-tasks-of-eve-\d+-\w+\.png",
|
||||
"#count" : 177,
|
||||
|
||||
"count": 177,
|
||||
"num" : range(1, 177),
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://scrolller.com/following",
|
||||
"#class" : scrolller.ScrolllerFollowingExtractor,
|
||||
|
||||
Reference in New Issue
Block a user