Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
captainwong
douban-api-proxy
Commits
55bb8d45
Commit
55bb8d45
authored
May 01, 2019
by
Ozzieisaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #900
parent
b80bfa52
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
web.py
cps/web.py
+1
-1
optional-requirements.txt
optional-requirements.txt
+4
-1
requirements.txt
requirements.txt
+0
-1
No files found.
cps/web.py
View file @
55bb8d45
...
...
@@ -704,7 +704,7 @@ def feed_search(term):
def
render_xml_template
(
*
args
,
**
kwargs
):
#ToDo: return time in current timezone similar to %z
currtime
=
datetime
.
datetime
.
now
()
.
strftime
(
"
%
Y-
%
m-
%
dT
%
H:
%
M:
%
S+00:00"
)
xml
=
render_template
(
current_time
=
currtime
,
*
args
,
**
kwargs
)
xml
=
render_template
(
current_time
=
currtime
,
instance
=
config
.
config_calibre_web_title
,
*
args
,
**
kwargs
)
response
=
make_response
(
xml
)
response
.
headers
[
"Content-Type"
]
=
"application/atom+xml; charset=utf-8"
return
response
...
...
optional-requirements.txt
View file @
55bb8d45
...
...
@@ -14,7 +14,10 @@ six==1.10.0
# goodreads
goodreads
>=0.3.2
python-Levenshtein
>=0.12.0
#
other
#
extracting metadata
lxml
>=3.8.0
Pillow
>=4.0.0
rarfile
>=2.7
# other
natsort
>=2.2.0
requirements.txt
View file @
55bb8d45
...
...
@@ -13,4 +13,3 @@ SQLAlchemy>=1.1.0
tornado
>=4.1
Wand
>=0.4.4
unidecode
>=0.04.19
Pillow
>=5.4.0
\ No newline at end of file
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