Commit graph

2048 commits

Author SHA1 Message Date
Adam Tauber
7f865356f9 Merge branch 'unit-tests' of https://github.com/Cqoicebordel/searx into Cqoicebordel-unit-tests
Conflicts:
	searx/tests/test_engines.py
2015-02-02 09:36:43 +01:00
Cqoicebordel
5a16077455 PirateBay unit test + reactivation in Settings 2015-02-01 15:23:26 +01:00
Cqoicebordel
c6535dd65e Flickr Noapi unit test 2015-02-01 14:31:04 +01:00
Adam Tauber
03137eebd9 Merge pull request #208 from pointhi/new_engines
add 1x.com engine, improve yacy-engine
2015-02-01 14:07:34 +01:00
Thomas Pointhuber
a605d0ae69 [enh] add test for 1x.com 2015-02-01 13:52:43 +01:00
Cqoicebordel
8cf2ee5721 500px unit test 2015-02-01 13:43:10 +01:00
Adam Tauber
f18807955b [mod] python importable engine names 2015-02-01 11:55:47 +01:00
Thomas Pointhuber
7e30633edd [enh] improve yacy engine 2015-02-01 11:48:15 +01:00
Thomas Pointhuber
6042f2bc53 [enh] add 1x.com engine
* Deacivated by default, because of the big amount of results
2015-02-01 11:27:28 +01:00
Adam Tauber
4a20fc202e Merge pull request #207 from pointhi/hash_fix
[fix] hash error if url is including non ascii characters
2015-02-01 11:13:58 +01:00
Thomas Pointhuber
14079ea2b0 [fix] codec can't encode character inside image_proxify 2015-02-01 10:18:32 +01:00
Thomas Pointhuber
38302ef58b [fix] hash error if url is including non ascii characters 2015-02-01 10:07:53 +01:00
Adam Tauber
78828efdb0 [enh] allow override of blocked engines from query string 2015-01-31 23:11:48 +01:00
Adam Tauber
b19e681cce [enh] default disabled engines - closes #109 2015-01-31 23:11:45 +01:00
Adam Tauber
bfd321a7a9 [mod] python importable engine names 2015-01-31 22:05:13 +01:00
Cqoicebordel
04fa31b7f4 Vimeo's unit test 2015-01-31 19:49:54 +01:00
Cqoicebordel
d20ddf9da1 Stackoverflow's unit test 2015-01-31 17:29:22 +01:00
Cqoicebordel
787fee6a09 Soundcloud's unit test 2015-01-31 17:10:37 +01:00
Cqoicebordel
b7dc1fb9d5 Google news' unit test 2015-01-31 16:38:03 +01:00
Cqoicebordel
d5b8005ee1 Google images' unit test 2015-01-31 16:16:30 +01:00
Cqoicebordel
8ea749d6ec Kickass' unit test 2015-01-30 21:02:17 +01:00
Cqoicebordel
52a57ee045 Replace every bunch of whitespaces with only one space in HTML text 2015-01-30 21:00:49 +01:00
Cqoicebordel
a3d444ab85 BTDigg's unit test 2015-01-30 19:52:44 +01:00
Cqoicebordel
5761d6f0ab Bing news engine corrections
XPath *never* return None.

(I found the HTML report of coverage)
2015-01-29 21:19:59 +01:00
Cqoicebordel
efde2c21c8 Bing news' unit test
I have no idea why coverage tell 97% and 2 misses in branches. If anyone has an idea...
2015-01-29 20:56:57 +01:00
Cqoicebordel
dad0434f34 Bing images' unit test 2015-01-29 20:15:52 +01:00
Adam Tauber
8de97dac03 [mod] pretty url separation 2015-01-29 19:44:52 +01:00
Cqoicebordel
d495704551 Deviant Art's unit test 2015-01-29 01:13:33 +01:00
Cqoicebordel
1d255061c7 Digg's unit test 2015-01-29 00:26:12 +01:00
Cqoicebordel
92368a4107 Dailymotion's unit test 2015-01-27 23:20:57 +01:00
Cqoicebordel
3282e62ff9 Searchcode engines corrections 2015-01-27 22:39:25 +01:00
Cqoicebordel
0f81aa8410 Searchcode doc's test unit 2015-01-27 22:38:56 +01:00
Cqoicebordel
eca5de73a7 Searchcode code's test unit 2015-01-27 22:37:11 +01:00
Cqoicebordel
cfe81d741c A bit of utils unit tests 2015-01-27 20:03:33 +01:00
Adam Tauber
bac98a02cb [mod] reduce cookie expirity time - fixes #204 2015-01-27 20:00:17 +01:00
Adam Tauber
dafb49c804 [mod] update useragent versions 2015-01-27 19:58:39 +01:00
Adam Tauber
27efdf38c8 [fix] flickr-noapi logging ++ use correct image url - fixes #203 #181 2015-01-27 19:25:03 +01:00
Cqoicebordel
4dba3739fb Youtube's unit test 2015-01-26 18:24:08 +01:00
Cqoicebordel
8f040e30ad Flickr's test unit 2015-01-26 17:36:10 +01:00
Adam Tauber
78081baa8f [enh] always enable inner autocompletition (server side only) 2015-01-25 22:52:48 +01:00
Cqoicebordel
192f255e13 Mixcloud's unit test 2015-01-25 22:33:02 +01:00
Cqoicebordel
0f52cc7542 Deezer's unit test 2015-01-25 22:12:34 +01:00
Cqoicebordel
525af2a031 Add bing in the test units 2015-01-25 20:14:37 +01:00
Cqoicebordel
44c9216c49 Sanitize extract_text 2015-01-25 20:04:44 +01:00
Adam Tauber
516ea9b769 Merge pull request #201 from pointhi/engine_fix
[fix] btdigg
2015-01-25 17:48:04 +01:00
Thomas Pointhuber
7716806c3d [fix] btdigg 2015-01-25 10:21:44 +01:00
Adam Tauber
e7d90b8e86 Merge pull request #200 from Cqoicebordel/bing-date
Change the cookie in bing_news to use the english interface
2015-01-23 11:50:51 +01:00
Cqoicebordel
cbe3c8be85 Change the cookie in bing_news to use the english interface
But still uses the language to set the market, and so provide relevant results to the language.
Fix #198
2015-01-22 22:46:34 +01:00
Adam Tauber
833ac04232 [enh] russian .mo file added 2015-01-22 22:42:41 +01:00
Adam Tauber
699fe60e50 [fix] handle single closing element in HTMLTextExtractor 2015-01-22 17:43:45 +01:00