mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 14:08:59 +00:00
Fixed BongaCams, links parsing improved (#297)
* Fixed BongaCams, links parsing improved * Fixed tests
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ def test_site_url_detector():
|
||||
|
||||
assert (
|
||||
db.sites[0].url_regexp.pattern
|
||||
== r'^https?://(www.)?forum\.amperka\.ru/members/\?username=(.+?)$'
|
||||
== r'^https?://(www.|m.)?forum\.amperka\.ru/members/\?username=(.+?)$'
|
||||
)
|
||||
assert (
|
||||
db.sites[0].detect_username('http://forum.amperka.ru/members/?username=test')
|
||||
|
||||
Reference in New Issue
Block a user