selferr.go 1.4 KB

1234567891011121314151617181920212223242526
  1. package common
  2. import "errors"
  3. var (
  4. NoMetadataFile = errors.New("no metadata file, movie.xml or *.nfo")
  5. CanNotFindIMDBID = errors.New("can not find IMDB Id")
  6. CanNotFindEpAiredTime = errors.New("can not find Ep Aired Time")
  7. XunLeiCIdIsEmpty = errors.New("cid is empty")
  8. VideoFileIsTooSmall = errors.New("video file is too small")
  9. ShooterFileHashIsEmpty = errors.New("filehash is empty")
  10. CanNotMatchingAnySubType = errors.New("can not matching any sub type")
  11. DetermineFileTypeFromFileExtNotFitASSorSSA = errors.New("DetermineFileTypeFromFile Ext Not Fit .ass or .ssa")
  12. DetermineFileTypeFromFileExtNotFitSRT = errors.New("DetermineFileTypeFromFile Ext Not Fit .srt")
  13. ZiMuKuSearchKeyWordStep0DetailPageUrlNotFound = errors.New("zimuku search keyword step0 not found, detail page url")
  14. ZiMuKuDownloadUrlStep2NotFound = errors.New("zimuku download url step2 not found")
  15. ZiMuKuDownloadUrlStep3NotFound = errors.New("zimuku download url step3 not found")
  16. ZiMuKuDownloadUrlStep3AllFailed = errors.New("zimuku download url step3 all failed")
  17. SubHDStep0SubCountElementNotFound = errors.New("subhd step0 sub count element not found")
  18. SubHDStep0ImgParentLessThan1 = errors.New("subhd step0 Img Parent less than 1")
  19. SubHDStep0HrefIsNull = errors.New("subhd step0 href is Null")
  20. SubHDStep2ExCannotFindDownloadBtn = errors.New("subhd step2ex can not find download btn")
  21. )