|
|
@@ -165,7 +165,7 @@ def main(dest_path, xml_files):
|
|
|
|
|
|
p1 = re.compile(r'(\[caption.*?\])?<a href="(http[^>]*?)"><img[^>]*? src="(http[^>]*?)"[^>]*?></a>([^<]*?\[/caption\])?')
|
|
|
p3 = re.compile(r'(\[caption.*?\])?<img[^>]*? src="(http[^>]*?)"[^>]*?>([^<]*?\[/caption\])?')
|
|
|
- p4 = re.compile(r'\[gallery.*?ids="(.*?)"\]')
|
|
|
+ p4 = re.compile(r'\[gallery.*?ids="([^"]*?)".*?\]')
|
|
|
|
|
|
drop_patterns = {
|
|
|
re.compile(r'<span .*?>'),
|