Merge pull request #307 from dalf/master

[fix] Flickr engine
This commit is contained in:
Adam Tauber 2015-05-02 13:39:13 -04:00
commit b3513aa3a6
2 changed files with 7 additions and 8 deletions

View file

@ -20,8 +20,8 @@ logger = logger.getChild('flickr-noapi')
categories = ['images']
url = 'https://secure.flickr.com/'
search_url = url + 'search/?{query}&page={page}'
url = 'https://www.flickr.com/'
search_url = url + 'search?{query}&page={page}'
photo_url = 'https://www.flickr.com/photos/{userid}/{photoid}'
regex = re.compile(r"\"search-photos-models\",\"photos\":(.*}),\"totalItems\":", re.DOTALL)
image_sizes = ('o', 'k', 'h', 'b', 'c', 'z', 'n', 'm', 't', 'q', 's')