Misc
This commit is contained in:
parent
0899890edb
commit
d1b4d55312
|
@ -35,7 +35,6 @@ class SocialSiteId(enum.Enum):
|
|||
PIXIV_USER_ID = 5435
|
||||
PIXIV_USER_NICKNAME = 31
|
||||
CARRD_PAGE = 24
|
||||
HENTAI_FOUNDRY = 25
|
||||
YOUTUBE_CHANNEL_HANDLE = 26
|
||||
YOUTUBE_CHANNEL_ID = 2397
|
||||
VIMEO_CHANNEL = 27
|
||||
|
@ -106,7 +105,6 @@ WIKIDATA_PROPERTIES = {
|
|||
#SocialSiteId.INPRNT_PAGE: WikidataInfo(None, None),
|
||||
|
||||
SocialSiteId.CARRD_PAGE: WikidataInfo(None, 106036503),
|
||||
SocialSiteId.HENTAI_FOUNDRY: WikidataInfo(None, 115903301),
|
||||
SocialSiteId.YOUTUBE_CHANNEL_HANDLE: WikidataInfo(11245, 866, nickname_version_of = SocialSiteId.YOUTUBE_CHANNEL_ID),
|
||||
SocialSiteId.YOUTUBE_CHANNEL_ID: WikidataInfo(2397, 866, id_version_of = SocialSiteId.YOUTUBE_CHANNEL_HANDLE),
|
||||
SocialSiteId.VIMEO_CHANNEL: WikidataInfo(4015, 156376),
|
||||
|
@ -172,7 +170,6 @@ PIXIV_USER_NICKNAME_URL = re_social_path_adv('pixiv.net', 'stacc', RE_ID)
|
|||
PIXIV_SKETCH_USER_NICKNAME_URL = re_social_path_adv('sketch.pixiv.net', RE_ID)
|
||||
|
||||
URL_PARSE_CARRD_PAGE = re_social_subdomain('carrd.co')
|
||||
URL_PARSE_HENTAI_FOUNDRY = re_social_path_adv('hentai-foundry.com', 'user', RE_ID, RE_ANY_SUBPATH)
|
||||
URL_PARSE_YOUTUBE_CHANNEL_HANDLE_1= re_social_path_adv('youtube.com', RE_ID)
|
||||
URL_PARSE_YOUTUBE_CHANNEL_HANDLE_2= re_social_path_adv('youtube.com', 'c', RE_ID)
|
||||
URL_PARSE_YOUTUBE_CHANNEL_ID= re_social_path_adv('youtube.com', 'channel', RE_ID)
|
||||
|
@ -256,9 +253,6 @@ REGEXES = [
|
|||
# Carrd
|
||||
(URL_PARSE_CARRD_PAGE, SocialSiteId.CARRD_PAGE),
|
||||
|
||||
# Hentai-Foundry
|
||||
(URL_PARSE_HENTAI_FOUNDRY, SocialSiteId.HENTAI_FOUNDRY),
|
||||
|
||||
# Youtube
|
||||
(URL_PARSE_YOUTUBE_CHANNEL_HANDLE_1, SocialSiteId.YOUTUBE_CHANNEL_HANDLE),
|
||||
(URL_PARSE_YOUTUBE_CHANNEL_HANDLE_2, SocialSiteId.YOUTUBE_CHANNEL_HANDLE),
|
||||
|
|
Loading…
Reference in New Issue
Block a user