mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 11:12:40 +01:00
[generic] revert pattern change
This commit is contained in:
parent
34a7fab0e2
commit
4883420e67
@ -46,7 +46,8 @@ class DirectlinkExtractor(Extractor):
|
||||
"mZPiDgT8hmQdQ5K_gYyu0g.JPEG/2.JPG"),
|
||||
# internationalized domain name
|
||||
("https://räksmörgås.josefsson.org/raksmorgas.jpg", {
|
||||
"content": "f7e00768ab009c969e70d775047cdd302ca51762",
|
||||
"url": "a65667f670b194afbd1e3ea5e7a78938d36747da",
|
||||
"keyword": "fd5037fe86eebd4764e176cbaf318caec0f700be",
|
||||
}),
|
||||
)
|
||||
|
||||
|
@ -26,7 +26,7 @@ class GenericExtractor(Extractor):
|
||||
# Based on: https://tools.ietf.org/html/rfc3986#appendix-B
|
||||
pattern += r"""
|
||||
(?P<scheme>https?://)? # optional http(s) scheme
|
||||
(?P<domain>[^/?#]+) # required domain
|
||||
(?P<domain>[-\w\.]+) # required domain
|
||||
(?P<path>/[^?#]*)? # optional path
|
||||
(?:\?(?P<query>[^#]*))? # optional query
|
||||
(?:\#(?P<fragment>.*))? # optional fragment
|
||||
|
Loading…
Reference in New Issue
Block a user