diff --git a/README.md b/README.md index 4a9386df3..0b36d643d 100644 --- a/README.md +++ b/README.md @@ -602,6 +602,7 @@ Twitter | | ✓ | | | | 音悦台 | | ✓ | | | | 极客时间 | | ✓ | | | | Pornhub | | ✓ | | | | +XVIDEOS | | ✓ | | | | ## Known issues diff --git a/extractors/xvideos/xvideos.go b/extractors/xvideos/xvideos.go index 739693046..702c59b6e 100644 --- a/extractors/xvideos/xvideos.go +++ b/extractors/xvideos/xvideos.go @@ -109,7 +109,7 @@ func Extract(url string) ([]downloader.Data, error) { } return []downloader.Data{ { - Site: "xvideos", + Site: "XVIDEOS", Title: title, Type: "video", Streams: streams, diff --git a/extractors/yinyuetai/yinyuetai_test.go b/extractors/yinyuetai/yinyuetai_test.go index f6610ff69..a40eaaa75 100644 --- a/extractors/yinyuetai/yinyuetai_test.go +++ b/extractors/yinyuetai/yinyuetai_test.go @@ -9,6 +9,7 @@ import ( func TestDownload(t *testing.T) { config.InfoOnly = true + config.RetryTimes = 5 tests := []struct { name string args test.Args