working on subdirs by feed
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"local/storage"
|
||||
"log"
|
||||
"net/http"
|
||||
"path"
|
||||
"regexp"
|
||||
"strings"
|
||||
"time"
|
||||
@@ -114,7 +115,7 @@ func pull(db storage.DB, vpntor, outdir, url string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if err := handle(vpntor, outdir, s); err != nil {
|
||||
if err := handle(vpntor, path.Join(outdir, gofeed.Copyright), s); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := db.Set(item.Link, []byte{}); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user