Compare commits
2 Commits
a04b119ce5
...
2c7895561b
Author | SHA1 | Date | |
---|---|---|---|
2c7895561b | |||
bf2a3bcf1d |
8
.dockerignore
Normal file
8
.dockerignore
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
.venv/
|
||||||
|
__pycache__/
|
||||||
|
.env
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
deploy.sh
|
||||||
|
Dockerfile
|
||||||
|
env
|
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.venv/
|
||||||
|
__pycache__/
|
||||||
|
.env
|
||||||
|
deploy.sh
|
||||||
|
env
|
@ -60,10 +60,14 @@ class Entry(object):
|
|||||||
#print(kwargs["links"][0].get("rpath"))
|
#print(kwargs["links"][0].get("rpath"))
|
||||||
if data.select('Series')[0].text in kwargs["links"][0].get("rpath"):
|
if data.select('Series')[0].text in kwargs["links"][0].get("rpath"):
|
||||||
releasedate=data.select('Year')[0].text+"-"+data.select('Month')[0].text.zfill(2)+"-"+data.select('Day')[0].text.zfill(2)
|
releasedate=data.select('Year')[0].text+"-"+data.select('Month')[0].text.zfill(2)+"-"+data.select('Day')[0].text.zfill(2)
|
||||||
|
try:
|
||||||
self.title = "#"+data.select('Number')[0].text.zfill(2) + ": " + data.select('Title')[0].text + " (" + releasedate + ")"
|
self.title = "#"+data.select('Number')[0].text.zfill(2) + ": " + data.select('Title')[0].text + " (" + releasedate + ")"
|
||||||
|
except:
|
||||||
|
self.title = "#"+data.select('Number')[0].text.zfill(2) + " (" + releasedate + ")"
|
||||||
#print(self.title)
|
#print(self.title)
|
||||||
else:
|
else:
|
||||||
self.title = kwargs["title"]
|
self.title = kwargs["title"]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
self.title = kwargs["title"]
|
self.title = kwargs["title"]
|
||||||
#self.title = data.select('Title')[0].text
|
#self.title = data.select('Title')[0].text
|
||||||
|
Loading…
Reference in New Issue
Block a user