[deviantart] don't match 'www' as a potential username

This commit is contained in:
Mike Fährmann
2019-02-15 16:38:29 +01:00
parent 5530871b5a
commit c7b8421333

View File

@@ -22,7 +22,7 @@ import re
BASE_PATTERN = (
r"(?:https?://)?(?:"
r"(?:www\.)?deviantart\.com/([\w-]+)|"
r"([\w-]+)\.deviantart\.com)"
r"(?!www\.)([\w-]+)\.deviantart\.com)"
)