1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 12:12:34 +01:00

[8chan] use new domainname for thread-urls

This commit is contained in:
Mike Fährmann 2015-01-18 23:45:40 +01:00
parent 34d13bc906
commit 0f6cc964cc

View File

@ -4,7 +4,7 @@ import re
class Extractor(BasicExtractor): class Extractor(BasicExtractor):
thread_url_fmt = "https://www.8chan.co/{0}/res/{1}.html" thread_url_fmt = "https://www.8ch.net/{0}/res/{1}.html"
regex = r'>File: <a href="([^"]+)">([^<]+)\.[^<]+<.*?<span class="postfilename"( title="([^"]+)")?>([^<]+)<' regex = r'>File: <a href="([^"]+)">([^<]+)\.[^<]+<.*?<span class="postfilename"( title="([^"]+)")?>([^<]+)<'
def __init__(self, match, config): def __init__(self, match, config):