diff options
Diffstat (limited to 'searx/engines/www1x.py')
| -rw-r--r-- | searx/engines/www1x.py | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/searx/engines/www1x.py b/searx/engines/www1x.py index a68c105ce..12868ad22 100644 --- a/searx/engines/www1x.py +++ b/searx/engines/www1x.py @@ -1,13 +1,14 @@ -## 1x (Images) -# -# @website http://1x.com/ -# @provide-api no -# -# @using-api no -# @results HTML -# @stable no (HTML can change) -# @parse url, title, thumbnail, img_src, content +""" + 1x (Images) + @website http://1x.com/ + @provide-api no + + @using-api no + @results HTML + @stable no (HTML can change) + @parse url, title, thumbnail, img_src, content +""" from urllib import urlencode from urlparse import urljoin @@ -19,7 +20,7 @@ import re categories = ['images'] paging = False -# search-url +# search-url, no HTTPS (there is a valid certificate for https://api2.1x.com/ ) base_url = 'http://1x.com' search_url = base_url+'/backend/search.php?{query}' |