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
db9d7d47
Commit
db9d7d47
authored
Jan 07, 2020
by
frankdelange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix double-encode error (fixes #1799)
parent
22d05b3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
flickr_noapi.py
searx/engines/flickr_noapi.py
+3
-3
No files found.
searx/engines/flickr_noapi.py
View file @
db9d7d47
...
...
@@ -118,9 +118,9 @@ def response(resp):
'template'
:
'images.html'
}
try
:
result
[
'author'
]
=
author
.
encode
(
'utf-8'
)
result
[
'title'
]
=
title
.
encode
(
'utf-8'
)
result
[
'content'
]
=
content
.
encode
(
'utf-8'
)
result
[
'author'
]
=
author
result
[
'title'
]
=
title
result
[
'content'
]
=
content
except
:
result
[
'author'
]
=
''
result
[
'title'
]
=
''
...
...
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