Make thing beeing able to be modified

This commit is contained in:
2017-09-23 17:10:50 +02:00
parent d901943758
commit 5569c4444b
2 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ package main
import (
"fmt"
"log"
"path"
"regexp"
"strconv"
@@ -35,6 +36,8 @@ func (g *AlbumDescriptionGetter) Get(a *Album) error {
}
defer closeOrPanic(resp.Body, "GET:https://"+URL)
log.Printf("Fetched %s", URL)
doc, err := goquery.NewDocumentFromReader(resp.Body)
if err != nil {
return err