43
test/results/bluesky.py
Normal file
43
test/results/bluesky.py
Normal file
@@ -0,0 +1,43 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
# published by the Free Software Foundation.
|
||||
|
||||
from gallery_dl.extractor import bluesky
|
||||
|
||||
|
||||
__tests__ = (
|
||||
{
|
||||
"#url" : "https://bsky.app/profile/bsky.app/post/3kh5rarr3gn2n",
|
||||
"#category": ("", "bluesky", "post"),
|
||||
"#class" : bluesky.BlueskyPostExtractor,
|
||||
"#urls" : "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreidypzoaybmfj5h7pnpiyct6ng5yae6ydp4czrm72ocg7ev6vbirri@jpeg",
|
||||
"#sha1_content": "c36a27d135277dc08b7bfd289e4078af7b32c720",
|
||||
|
||||
"author": {
|
||||
"avatar" : "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihagr2cmvl2jt4mgx3sppwe2it3fwolkrbtjrhcnwjk4jdijhsoze@jpeg",
|
||||
"did" : "did:plc:z72i7hdynmk6r22z27h6tvur",
|
||||
"displayName": "Bluesky",
|
||||
"handle" : "bsky.app",
|
||||
"labels" : [],
|
||||
},
|
||||
"cid" : "bafyreihh7m6bfrwlcjfklwturmja7qfse5gte7lskpmgw76flivimbnoqm",
|
||||
"count" : 1,
|
||||
"date" : "dt:2023-12-22 18:58:32",
|
||||
"description": "The bluesky logo with the blue butterfly",
|
||||
"extension" : "jpeg",
|
||||
"filename" : "bafkreidypzoaybmfj5h7pnpiyct6ng5yae6ydp4czrm72ocg7ev6vbirri",
|
||||
"height" : 630,
|
||||
"indexedAt" : "2023-12-22T18:58:32.715Z",
|
||||
"labels" : [],
|
||||
"likeCount" : int,
|
||||
"num" : 1,
|
||||
"post_id" : "3kh5rarr3gn2n",
|
||||
"replyCount" : int,
|
||||
"repostCount": int,
|
||||
"uri" : "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3kh5rarr3gn2n",
|
||||
"width" : 1200,
|
||||
},
|
||||
|
||||
)
|
||||
Reference in New Issue
Block a user