From aa624381ccbfc9639c0ef3cf48d24c7fb543a9dd Mon Sep 17 00:00:00 2001 From: gan-of-culture Date: Thu, 14 Oct 2021 22:08:44 +0200 Subject: [PATCH] fixed sidebar issues with zhentube --- extractors/zhentube/zhentube.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extractors/zhentube/zhentube.go b/extractors/zhentube/zhentube.go index 4f08ad6..9ff748b 100644 --- a/extractors/zhentube/zhentube.go +++ b/extractors/zhentube/zhentube.go @@ -91,6 +91,8 @@ func parseURL(URL string) []string { if err != nil { return nil } + // remove rest of site's html including the sidebar that contains videos we don't want + htmlString = strings.Split(htmlString, "