Browse Source

添加 debug 日志

Signed-off-by: allan716 <[email protected]>
allan716 4 years ago
parent
commit
33348d5ee1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      sub_supplier/subSupplierHub.go

+ 4 - 0
sub_supplier/subSupplierHub.go

@@ -88,6 +88,10 @@ func (d SubSupplierHub) DownloadSub4Series(seriesDirPath string, index int) (*co
 	if err != nil {
 		return nil, nil, err
 	}
+	d.log.Debugln(seriesInfo.Name, "IMDB ID:", seriesInfo.ImdbId, "NeedDownloadSubs:", len(seriesInfo.NeedDlEpsKeyList))
+	for key, _ := range seriesInfo.NeedDlEpsKeyList {
+		d.log.Debugln(key)
+	}
 	// 下载好的字幕
 	subInfos := series_helper.OneSeriesDlSubInAllSite(d.Suppliers, seriesInfo, index)
 	// 整理字幕,比如解压什么的