dalf
9db0bbc304
[fix] kickass engine : change the hostname to kickass.to (since kickass.so doesn't respond).
...
Close #197 perhaps not in clean way. Explanation :
In fact 301 responses are followed, except the hook is called for each HTTP response,
the first time for the HTTP 301 response then for HTTP 200 response.
Since the kickass engine excepts a real result, the engine crashes, AND the requests lib stops here.
Add a simple test at the beginning of the result function allows pass the first response and handle correctly the second response (the real one)
May be a proper way is to add this test in search.py ?
Code inside requests :
53d02381e2/requests/sessions.py (L579)
and line 591
10 years ago
Adam Tauber
df9cf9d09b
Merge branch 'rtl' of github.com:Cqoicebordel/searx
10 years ago
Adam Tauber
c711212662
[fix] image proxify utf urls
10 years ago
Thomas Pointhuber
7ac6361b51
[enh] set google safesearch filter more restictive
10 years ago
Thomas Pointhuber
10666fd7c0
[enh] add safesearch to google_images
10 years ago
Thomas Pointhuber
832ea60e3d
[fix] pep8, tests
10 years ago
Thomas Pointhuber
e7de9674b1
[enh] add safesearch functionality
...
2 = strict
1 = moderate
0 = none
10 years ago
Thomas Pointhuber
dd4686a388
[enh] add blekko_images engine
10 years ago
Thomas Pointhuber
04f7118d0a
[enh] add gigablast engine
10 years ago
Adam Tauber
91f7c031d5
[fix] handle proxied https scheme with uwsgi
10 years ago
Adam Tauber
40ae8c8247
[enh] v0.7.0
10 years ago
Adam Tauber
996c797ab2
[fix] default blocked categories
10 years ago
Adam Tauber
1de781a143
[enh] category specific engine deactivation - closes #205
10 years ago
Adam Tauber
268e0516ee
[fix] piratebay url change in tests
10 years ago
Adam Tauber
6be2065670
[fix] piratebay url
10 years ago
Adam Tauber
7f865356f9
Merge branch 'unit-tests' of https://github.com/Cqoicebordel/searx into Cqoicebordel-unit-tests
...
Conflicts:
searx/tests/test_engines.py
10 years ago
Cqoicebordel
5a16077455
PirateBay unit test + reactivation in Settings
10 years ago
Cqoicebordel
c6535dd65e
Flickr Noapi unit test
10 years ago
Adam Tauber
03137eebd9
Merge pull request #208 from pointhi/new_engines
...
add 1x.com engine, improve yacy-engine
10 years ago
Thomas Pointhuber
a605d0ae69
[enh] add test for 1x.com
10 years ago
Cqoicebordel
8cf2ee5721
500px unit test
10 years ago
Adam Tauber
f18807955b
[mod] python importable engine names
10 years ago
Thomas Pointhuber
7e30633edd
[enh] improve yacy engine
10 years ago
Thomas Pointhuber
6042f2bc53
[enh] add 1x.com engine
...
* Deacivated by default, because of the big amount of results
10 years ago
Thomas Pointhuber
14079ea2b0
[fix] codec can't encode character inside image_proxify
10 years ago
Thomas Pointhuber
38302ef58b
[fix] hash error if url is including non ascii characters
10 years ago
Adam Tauber
78828efdb0
[enh] allow override of blocked engines from query string
10 years ago
Adam Tauber
b19e681cce
[enh] default disabled engines - closes #109
10 years ago
Adam Tauber
bfd321a7a9
[mod] python importable engine names
10 years ago
Cqoicebordel
04fa31b7f4
Vimeo's unit test
10 years ago
Cqoicebordel
d20ddf9da1
Stackoverflow's unit test
10 years ago
Cqoicebordel
787fee6a09
Soundcloud's unit test
10 years ago
Cqoicebordel
b7dc1fb9d5
Google news' unit test
10 years ago
Cqoicebordel
d5b8005ee1
Google images' unit test
10 years ago
Cqoicebordel
8ea749d6ec
Kickass' unit test
10 years ago
Cqoicebordel
52a57ee045
Replace every bunch of whitespaces with only one space in HTML text
10 years ago
Cqoicebordel
a3d444ab85
BTDigg's unit test
10 years ago
Cqoicebordel
5761d6f0ab
Bing news engine corrections
...
XPath *never* return None.
(I found the HTML report of coverage)
10 years ago
Cqoicebordel
efde2c21c8
Bing news' unit test
...
I have no idea why coverage tell 97% and 2 misses in branches. If anyone has an idea...
10 years ago
Cqoicebordel
dad0434f34
Bing images' unit test
10 years ago
Adam Tauber
8de97dac03
[mod] pretty url separation
10 years ago
Cqoicebordel
d495704551
Deviant Art's unit test
10 years ago
Cqoicebordel
1d255061c7
Digg's unit test
10 years ago
Cqoicebordel
92368a4107
Dailymotion's unit test
10 years ago
Cqoicebordel
3282e62ff9
Searchcode engines corrections
10 years ago
Cqoicebordel
0f81aa8410
Searchcode doc's test unit
10 years ago
Cqoicebordel
eca5de73a7
Searchcode code's test unit
10 years ago
Cqoicebordel
cfe81d741c
A bit of utils unit tests
10 years ago
Adam Tauber
bac98a02cb
[mod] reduce cookie expirity time - fixes #204
10 years ago
Adam Tauber
dafb49c804
[mod] update useragent versions
10 years ago