Commit Graph

92 Commits (f965c978222cf48e8dd4b7dd6c9a28ccca9bc62f)

Author SHA1 Message Date
Cqoicebordel f965c97822 Adds two engines : Youtube with or without API
The API needs an API_KEY
The NOAPI doesn't have the published dates.
9 years ago
Adam Tauber 021c8b2544 Merge pull request #335 from dalf/flickr
[fix] flickr engine
9 years ago
Alexandre Flament 7afd02c94e [fix] flickr engine 9 years ago
Alexandre Flament 3d70921175 [fix] bing_news 9 years ago
Adam Tauber 3035e14007 Merge pull request #320 from dalf/currency
[enh] currency_convert engine : "1 dollars in euros"
9 years ago
Alexandre Flament 5525625dae [enh] currency_convert engine: user can write "1 dollars in euros" instead of "1 USD in EUR".
The currency names are fetched wikidata and store into a static file : searx/data/currencies.json
This file is loaded when the currency_converter is loaded.
A database is perhaps more appropiated.
9 years ago
Adam Tauber e34166168c Merge pull request #310 from dalf/yahoo_news
[fix] yahoo_news engine
10 years ago
Alexandre Flament 44ed4424f6 [fix] yahoo_news engine 10 years ago
Adam Tauber 59a65d0bdc Merge pull request #305 from dalf/https_again
[enh] reduce the number of http outgoing connections.
10 years ago
Alexandre Flament 65e6737413 [fix] google engine tests 10 years ago
Alexandre Flament 732ed952dc [fix] 1x.com tests 10 years ago
Alexandre Flament 78edc16e66 [enh] reduce the number of http outgoing connections.
engines that still use http : gigablast, bing image for thumbnails, 1x and dbpedia autocompleter
10 years ago
Adam Tauber ad8611c755 Merge pull request #301 from dalf/https
engines: use https when possible
10 years ago
Alexandre Flament 043b269c6e [fix] tests 10 years ago
Adam Tauber 18e7d60702 Merge pull request #298 from dalf/ssl
[fix] SSL : SNI support
10 years ago
Alexandre Flament 77b2fbb61e [enh] implements #264 : add rel="noreferrer" to external links 10 years ago
Alexandre Flament 2be52b74ad [fix] tests 10 years ago
Adam Tauber 79b3de5185 [fix] test follow up 10 years ago
Adam Tauber 52d243f7af [fix] piratebay: missing torrent link 10 years ago
Adam Tauber f57149f912 [enh] plugin tests 10 years ago
Adam Tauber 80ba6f22fa [fix] webapp tests 10 years ago
Adam Tauber 4cc79533e7 [fix] deezer test with https 10 years ago
Cqoicebordel 56ad00bc32 Correct a few UT 10 years ago
Cqoicebordel a2a8fbf623 Add Spotify engine 10 years ago
dalf 57996b12fc [fix] update yahoo engine according to the web site changes 10 years ago
Adam Tauber ec2516b93d Merge pull request #233 from dalf/master
[fix] kickass engine
10 years ago
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 f6db77d81e Merge pull request #210 from Cqoicebordel/unit-tests
unit tests
10 years ago
Cqoicebordel f96154b7c4 Google's unit test 10 years ago
Cqoicebordel f703a77fc9 Photon's unit test
As in Flickr, a continue is not detected by coverage as covered but it is.
10 years ago
Cqoicebordel 8c2a5f0492 DDG Definitions' unit tests 10 years ago
Cqoicebordel 0a537d3b89 Yacy's unit test 10 years ago
Thomas Pointhuber 832ea60e3d [fix] pep8, tests 10 years ago
Thomas Pointhuber dd4686a388 [enh] add blekko_images engine 10 years ago
Thomas Pointhuber 04f7118d0a [enh] add gigablast engine 10 years ago
Cqoicebordel fb04f76698 Faroo's unit test 10 years ago
Cqoicebordel d0a1df881a Openstreetmap's unit test 10 years ago
Cqoicebordel f1c10f4fe4 Startpage's unit test 10 years ago
Cqoicebordel 3a4d6045c1 Subtitleseeker's unit test 10 years ago
Cqoicebordel 9f13af8d3c Yahoo's unit test 10 years ago
Cqoicebordel ff2ad57a87 Yahoo News' unit test 10 years ago
Cqoicebordel d6e511fc2f Twitter's unit test
There is a commented line of a test that I didn't succed to make it work. It's an issue of unicode, utf-8, ascii, latin1... I think I tried everything, but if you have an idea... I'm still a newbie in python...
10 years ago
Cqoicebordel a96208be96 Mediawiki's unit test 10 years ago
Adam Tauber 268e0516ee [fix] piratebay url change in tests 10 years ago
Cqoicebordel 1ea5bc63a5 Currency converter's unit test + DDG correction
Does anyone know how to trigger the except in the currency converter while still being matched by the regex ?
10 years ago
Cqoicebordel efe6dead55 Duckduckgo unit test 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
Thomas Pointhuber a605d0ae69 [enh] add test for 1x.com 10 years ago