This commit is contained in:
1 parent
32e2cb23a8
commit
8bb1defbd5
2 files changed
+2
-1
No files matched your search
@@ -23,5 +23,6 @@ jobs:
|
|||||||
- name: Release
|
- name: Release
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
|
tag_name: github.ref_name
|
||||||
files: |-
|
files: |-
|
||||||
tmp/**
|
tmp/**
|
||||||
@@ -222,7 +222,7 @@ func downloadSeries(url string, downloadPath string) {
|
|||||||
downloadCount := 0
|
downloadCount := 0
|
||||||
for i, c := range s.Chapters {
|
for i, c := range s.Chapters {
|
||||||
chapterPath := fmt.Sprintf("%s/%s", seriesPath, c.Name)
|
chapterPath := fmt.Sprintf("%s/%s", seriesPath, c.Name)
|
||||||
if _, err := os.Stat(seriesPath + "/" + c.Name); os.IsNotExist(err) {
|
if _, err := os.Stat(seriesPath + "/" + c.Name + ".cbz"); os.IsNotExist(err) {
|
||||||
log.Println("Downloading ", c.Name)
|
log.Println("Downloading ", c.Name)
|
||||||
downloadChapter(chapterPath, c.Link)
|
downloadChapter(chapterPath, c.Link)
|
||||||
//log.Println("Compressing", c.Name)
|
//log.Println("Compressing", c.Name)
|
||||||
|
|||||||
Reference in new issue
Block a user