mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 20:22:36 +01:00
36 lines
898 B
Python
36 lines
898 B
Python
# -*- 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 plurk
|
|
|
|
|
|
__tests__ = (
|
|
{
|
|
"#url" : "https://www.plurk.com/plurkapi",
|
|
"#category": ("", "plurk", "timeline"),
|
|
"#class" : plurk.PlurkTimelineExtractor,
|
|
"#pattern" : "https?://.+",
|
|
"#count" : ">= 23",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.plurk.com/p/i701j1",
|
|
"#category": ("", "plurk", "post"),
|
|
"#class" : plurk.PlurkPostExtractor,
|
|
"#count" : 3,
|
|
"#sha1_url": "2115f208564591b8748525c2807a84596aaaaa5f",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.plurk.com/p/i701j1",
|
|
"#category": ("", "plurk", "post"),
|
|
"#class" : plurk.PlurkPostExtractor,
|
|
"#options" : {"comments": True},
|
|
"#count" : ">= 210",
|
|
},
|
|
|
|
)
|