Fix unshortenit + nuovo path per mixdrop
This commit is contained in:
@@ -556,6 +556,8 @@ class UnshortenIt(object):
|
||||
# fix by greko inizio
|
||||
if not link:
|
||||
link = re.findall('action="(?:[^/]+.*?/[^/]+/([a-zA-Z0-9_]+))">', r.data)
|
||||
if not link:
|
||||
link = scrapertools.find_single_match(r.data, r'a href="([^"]+)')
|
||||
if link:
|
||||
uri = link
|
||||
short = re.findall('^https?://.*?(https?://.*)', uri)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"ignore_urls": [],
|
||||
"patterns": [
|
||||
{
|
||||
"pattern": "mixdrop.[^/]+/(?:f|e)/([a-z0-9]+)",
|
||||
"pattern": "mixdrop[s]?.[^/]+/(?:f|e)/([a-z0-9]+)",
|
||||
"url": "https://mixdrop.co/e/\\1"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user