Fix minor freeones scraper bug (#41)

Fix minor freeones scraper bug
This commit is contained in:
bnkai 2019-04-11 21:54:38 +03:00 committed by StashAppDev
parent 29a40c5bdd
commit bcc70af7e5
1 changed files with 4 additions and 1 deletions

View File

@ -228,6 +228,9 @@ func paramValue(params *goquery.Selection, paramIndex int) string {
return content return content
} }
node = node.NextSibling node = node.NextSibling
if (node == nil) {
return ""
}
return trim(node.FirstChild.Data) return trim(node.FirstChild.Data)
} }