From 24fa9a6edcc5c0542d8f37b23976a693d92b096e Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Tue, 17 Nov 2020 15:57:02 +0000 Subject: [PATCH] Add Wagtail detection --- .../webextension/images/icons/Wagtail.svg | 1 + src/technologies.json | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 src/drivers/webextension/images/icons/Wagtail.svg diff --git a/src/drivers/webextension/images/icons/Wagtail.svg b/src/drivers/webextension/images/icons/Wagtail.svg new file mode 100644 index 000000000..bf279197d --- /dev/null +++ b/src/drivers/webextension/images/icons/Wagtail.svg @@ -0,0 +1 @@ + diff --git a/src/technologies.json b/src/technologies.json index 0fc24317c..8561c08d3 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -15696,6 +15696,45 @@ ], "website": "https://wpcacheon.io" }, + "Wagtail": { + "cats": [ + 1 + ], + "description": "A Django content management system focused on flexibility and user experience", + "dom": { + "[style*='images/']": { + "attributes": { + "style": "(?:\\.[a-z]+|/media)(?:/[\\w-]+)?/(?:original_images/[\\w-]+|images/[\\w-.]+\\.(?:(?:fill|max|min)-\\d+x\\d+(?:-c\\d+)?|(?:width|height|scale)-\\d+|original))\\." + } + }, + "img[src*='images/']": { + "attributes": { + "src": "(?:\\.[a-z]+|/media)(?:/[\\w-]+)?/(?:original_images/[\\w-]+|images/[\\w-.]+\\.(?:(?:fill|max|min)-\\d+x\\d+(?:-c\\d+)?|(?:width|height|scale)-\\d+|original))\\." + } + }, + "img[srcset*='images/'], source[srcset*='images/']": { + "attributes": { + "srcset": "(?:\\.[a-z]+|/media)(?:/[\\w-]+)?/(?:original_images/[\\w-]+|images/[\\w-.]+\\.(?:(?:fill|max|min)-\\d+x\\d+(?:-c\\d+)?|(?:width|height|scale)-\\d+|original))\\." + } + }, + "meta[content*='images/']": { + "attributes": { + "content": "(?:\\.[a-z]+|/media)(?:/[\\w-]+)?/(?:original_images/[\\w-]+|images/[\\w-.]+\\.(?:(?:fill|max|min)-\\d+x\\d+(?:-c\\d+)?|(?:width|height|scale)-\\d+|original))\\." + } + }, + "video[poster*='images/']": { + "attributes": { + "poster": "(?:\\.[a-z]+|/media)(?:/[\\w-]+)?/(?:original_images/[\\w-]+|images/[\\w-.]+\\.(?:(?:fill|max|min)-\\d+x\\d+(?:-c\\d+)?|(?:width|height|scale)-\\d+|original))\\." + } + }, + "style, script": { + "text": "(?:\\.[a-z]+|/media)(?:/[\\w-]+)?/(?:original_images/[\\w-]+|images/[\\w-.]+\\.(?:(?:fill|max|min)-\\d+x\\d+(?:-c\\d+)?|(?:width|height|scale)-\\d+|original))\\." + } + }, + "icon": "Wagtail.svg", + "implies": "Django", + "website": "https://wagtail.io/" + }, "Warp": { "cats": [ 22