Noémi Ványi
c6ed0dae6c
fix google play movies xpath
пре 8 година
Adam Tauber
e12ea9a510
Merge branch '500px_rewrite' of github.com:asciimoo/searx
пре 8 година
Adam Tauber
9b2bd6847f
[fix] 500px unit tests
пре 8 година
Adam Tauber
4676e1dcde
[fix] remove result escaping from engine
пре 8 година
Adam Tauber
1a82ed6f54
[mod] 500px rewrite
пре 9 година
Adam Tauber
f6e9c074bb
[fix] vimeo engine change follow-up
пре 8 година
Adam Tauber
a2c94895c1
[fix] google news engine change follow-up
пре 8 година
Adam Tauber
a764ebb4b1
[enh] extend json response with suggestions, infoboxes and answers
пре 8 година
Adam Tauber
c3dcebb778
[fix] remove html tags from qwant results
пре 8 година
Adam Tauber
be6ae81cb2
Merge pull request #776 from asciimoo/voat-engine
add voat.co engine
пре 8 година
Adam Tauber
e12a137a2f
[fix] unicode response in deezer and spotify
пре 8 година
Adam Tauber
75aa46a6b3
[fix] remove unused variable
пре 8 година
Adam Tauber
0205838f25
[enh] handle engine response crashes
пре 8 година
Adam Tauber
ceb8ae6439
Merge pull request #751 from dalf/searchpy2
Simplify search.py
пре 8 година
Alexandre Flament
e48f07a367
Merge branch 'master' into searchpy2
пре 8 година
Adam Tauber
d80fb2c8e8
[enh] central handling of empty result titles
пре 8 година
Adam Tauber
72a217f983
[mod] return empty string on missing osm title
Sometimes openstreetmap returns with None as title. In these cases use an empty
string instead.
пре 8 година
Adam Tauber
8116e341cc
[fix] kickass test html escaping
пре 8 година
Adam Tauber
fdf63940e8
[fix] tests ++ flickr error
пре 8 година
Adam Tauber
ef2ef7974a
[enh] central html escaping of results
пре 8 година
Adam Tauber
7e1f27e459
[enh] add author to image result content
пре 8 година
Adam Tauber
39f5035e13
[fix] query escaping in rss/opensearch output
пре 8 година
Adam Tauber
16bdc0baf4
[mod] do not escape html content in engines
пре 8 година
Adam Tauber
28f12ef5a0
[fix] proper escaping of the search query in templates
пре 8 година
Adam Tauber
7986d4cf41
[fix] correct path for autoscroll on non-root urls
closes #758
пре 8 година
Noémi Ványi
3007e4e451
add voat.co engine
пре 8 година
Adam Tauber
0724bd8168
[fix] pep8
пре 8 година
Adam Tauber
7eed8a5dd9
[enh] add statistics answerer
пре 8 година
Adam Tauber
971ed0abd1
[enh] add quick answer functionality with an example answerer
пре 8 година
Adam Tauber
55dc538398
[mod] move load_module function to utils
пре 8 година
Adam Tauber
827f9e41ca
[fix] gettext requires request.preferences
пре 8 година
Adam Tauber
028e5b43d4
Merge pull request #764 from kvch/set-search-language-from-settings-yml
set search language from settings.yml
пре 8 година
Noémi Ványi
299c882304
search: make language configurable from settings.yml
пре 8 година
Noémi Ványi
12c369e858
preferences: refactor to check consistently input values
пре 8 година
Adam Tauber
044809e298
[fix] search mocking in webapp test
пре 8 година
Adam Tauber
a757c2f005
[fix] remove unused imports
пре 8 година
Adam Tauber
832cf37a97
[enh] display errors
also tried flask's flash feature but flask creates session cookies if it
isn't flushed. Avoiding session cookies to preserve privacy
пре 8 година
Adam Tauber
88dfee858e
[fix] rewrite missing variable
пре 8 година
Adam Tauber
96f182d75d
[fix] allow empty autocomplete setting
closes #756
closes #761
пре 8 година
Adam Tauber
43ddbc60da
[fix] pep8
пре 8 година
Adam Tauber
16f2e346b3
[fix] bing unicode issue part III.
пре 8 година
Adam Tauber
94196c4b6c
[enh] show traceback of search errors
пре 8 година
Adam Tauber
1176505fa4
[fix] bing character encoding - closes #760
пре 8 година
Adam Tauber
17b08d096c
[fix] unicode search expression for bing
пре 8 година
Adam Tauber
16ff8d06c7
[fix] bing paging and language support
see https://msdn.microsoft.com/en-us/library/ff795620.aspx for bing
specific search operators
closes #755
пре 8 година
Alexandre Flament
219f047bf3
Merge branch 'master' into searchpy2
пре 8 година
Adam Tauber
7d26b3f8f8
[fix] suspend end time check
пре 8 година
Adam Tauber
6c7c6ba695
Merge pull request #753 from kvch/lobsters-engine
add lobste.rs xpath engine
пре 8 година
Noémi Ványi
c7906555a0
add lobste.rs xpath engine
пре 8 година
Alexandre Flament
01e2648e93
Simplify search.py, basically updated PR #518
The timeouts in settings.yml is about the total time (not only the HTTP request but also the prepare the request and parsing the response)
It was more or less the case before since the threaded_requests function ignores the thread after the timeout even the HTTP request is ended.
New / changed stats :
* page_load_time : record the HTTP request time
* page_load_count: the number of HTTP request
* engine_time : the execution total time of an engine
* engine_time_count : the number of "engine_time" measure
The avg response times in the preferences are the engine response time (engine_load_time / engine_load_count)
To sum up :
* Search.search() filters the engines that can't process the request
* Search.search() call search_multiple_requests function
* search_multiple_requests creates one thread per engine, each thread runs the search_one_request function
* search_one_request calls the request function, make the HTTP request, calls the response function, extends the result_container
* search_multiple_requests waits for the the thread to finish (or timeout)
пре 8 година