Skip to content

Commit

Permalink
print warning to stderr (#906)
Browse files Browse the repository at this point in the history
* print warning to stderr

which produces broken json output

* remove the whole message
  • Loading branch information
snylonue committed Jul 12, 2021
1 parent da51eba commit 50e5611
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion extractors/bilibili/bilibili.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ func (e *extractor) Extract(url string, option types.Options) ([]*types.Data, er

// set thread number to 1 manually to avoid http 412 error
option.ThreadNumber = 1
fmt.Printf("Warning: Multi thread download is no longer supported by BiliBili, use single thread instead.\n")

if strings.Contains(url, "bangumi") {
// handle bangumi
Expand Down

0 comments on commit 50e5611

Please sign in to comment.