Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
searx-engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
searx-engine
Commits
7295df30
Commit
7295df30
authored
Jan 21, 2014
by
asciimoo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[mod] import restructure
parent
468b4e45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
webapp.py
searx/webapp.py
+4
-5
No files found.
searx/webapp.py
View file @
7295df30
...
...
@@ -17,20 +17,19 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >.
(C) 2013- by Adam Tauber, <asciimoo@gmail.com>
'''
import
json
import
cStringIO
import
os
from
searx
import
settings
from
flask
import
Flask
,
request
,
render_template
from
flask
import
url_for
,
Response
,
make_response
,
redirect
from
searx.engines
import
search
,
categories
,
engines
,
get_engines_stats
import
json
import
cStringIO
from
searx.utils
import
UnicodeWriter
from
flask
import
send_from_directory
from
searx.utils
import
highlight_content
,
html_to_text
import
os
app
=
Flask
(
__name__
,
static_folder
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'static'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment