[tests/resulta] add 'pixiv' extended user metadata test
This commit is contained in:
@@ -37,7 +37,69 @@ __tests__ = (
|
||||
{
|
||||
"#url" : "https://www.pixiv.net/en/users/173530/artworks",
|
||||
"#class" : pixiv.PixivArtworksExtractor,
|
||||
"#options" : {"metadata": True},
|
||||
"#sha1_url": "852c31ad83b6840bacbce824d85f2a997889efb7",
|
||||
|
||||
"profile": {
|
||||
"address_id": 0,
|
||||
"background_image_url": None,
|
||||
"birth": "",
|
||||
"birth_day": "",
|
||||
"birth_year": 0,
|
||||
"country_code": "",
|
||||
"gender": "male",
|
||||
"is_premium": False,
|
||||
"is_using_custom_profile_image": True,
|
||||
"job": "",
|
||||
"job_id": 0,
|
||||
"pawoo_url": None,
|
||||
"region": "",
|
||||
"total_follow_users": 16,
|
||||
"total_illust_bookmarks_public": 6,
|
||||
"total_illust_series": 0,
|
||||
"total_illusts": 17,
|
||||
"total_manga": 0,
|
||||
"total_mypixiv_users": 0,
|
||||
"total_novel_series": 0,
|
||||
"total_novels": 0,
|
||||
"twitter_account": "",
|
||||
"twitter_url": None,
|
||||
"webpage": None,
|
||||
},
|
||||
"profile_publicity": {
|
||||
"birth_day": "public",
|
||||
"birth_year": "public",
|
||||
"gender": "public",
|
||||
"job": "public",
|
||||
"pawoo": True,
|
||||
"region": "public",
|
||||
},
|
||||
"user": {
|
||||
"account": "del_shannon",
|
||||
"comment": "基本 お絵かき掲示板で書いたものUPしております。\r\nVistaとの相性最悪で泣きそうな毎日です。\r\nメモリは大幅増で一般使用はサクサクなだけに・・・。orz",
|
||||
"id": 173530,
|
||||
"is_access_blocking_user": False,
|
||||
"is_followed": False,
|
||||
"name": "syuri",
|
||||
"profile_image_urls": {
|
||||
"medium": "https://i.pximg.net/user-profile/img/2008/06/17/01/28/01/171098_fc06efd15628e2ee252941ae5298b5ff_170.jpg",
|
||||
},
|
||||
},
|
||||
"workspace": {
|
||||
"chair": "",
|
||||
"comment": "",
|
||||
"desk": "",
|
||||
"desktop": "",
|
||||
"monitor": "",
|
||||
"mouse": "",
|
||||
"music": "古い陸軍行進曲「ジェッディン・デデン」",
|
||||
"pc": "",
|
||||
"printer": "",
|
||||
"scanner": "",
|
||||
"tablet": "わこむ",
|
||||
"tool": "",
|
||||
"workspace_image_url": None,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user