From bc9a6f657ed38ad0f9c50b8a5509e3e2180b460b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Mon, 27 May 2013 16:54:01 +0200 Subject: [PATCH] Updating flickr html parsing, fixing #2688 --- apps/cover/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cover/forms.py b/apps/cover/forms.py index 7fc6a33e..e373a6cb 100755 --- a/apps/cover/forms.py +++ b/apps/cover/forms.py @@ -63,7 +63,7 @@ class FlickrForm(forms.Form): except AssertionError: raise forms.ValidationError('Error reading license name.') - m = re.search(r'By ([^<]*)', html) + m = re.search(r'([^<]*)', html) if m: self.cleaned_data['author'] = "%s@Flickr" % m.group(1) else: -- 2.20.1