mirror of
https://github.com/searxng/searxng.git
synced 2025-07-12 15:59:21 +02:00
Flickr Noapi unit test
This commit is contained in:
parent
8cf2ee5721
commit
c6535dd65e
3 changed files with 444 additions and 1 deletions
|
@ -17,7 +17,7 @@ import re
|
|||
categories = ['images']
|
||||
|
||||
url = 'https://secure.flickr.com/'
|
||||
search_url = url+'search/?{query}&page={page}'
|
||||
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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue