Chore: update org name

It’s MetaTube Community now!
This commit is contained in:
xjasonlyu committed 2022-12-16 14:49:50 +08:00
1 parent 13a7e8dcf8
commit 3aeb73b357
67 files changed
+252 -252

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: javtube
username: metatube-community
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get Version
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"log"
"github.com/javtube/metatube-sdk-go/engine"
"github.com/metatube-community/metatube-sdk-go/engine"
)
func main() {
+6 -6
View File
@@ -1,12 +1,12 @@
package main
import (
"github.com/javtube/metatube-sdk-go/engine"
"github.com/javtube/metatube-sdk-go/provider/arzon"
"github.com/javtube/metatube-sdk-go/provider/fanza"
"github.com/javtube/metatube-sdk-go/provider/javbus"
"github.com/javtube/metatube-sdk-go/provider/sod"
"github.com/javtube/metatube-sdk-go/provider/xslist"
"github.com/metatube-community/metatube-sdk-go/engine"
"github.com/metatube-community/metatube-sdk-go/provider/arzon"
"github.com/metatube-community/metatube-sdk-go/provider/fanza"
"github.com/metatube-community/metatube-sdk-go/provider/javbus"
"github.com/metatube-community/metatube-sdk-go/provider/sod"
"github.com/metatube-community/metatube-sdk-go/provider/xslist"
)
func main() {
+1 -1
View File
@@ -1,7 +1,7 @@
package main
import (
"github.com/javtube/metatube-sdk-go/translate"
"github.com/metatube-community/metatube-sdk-go/translate"
)
func main() {
+5 -5
View File
@@ -12,11 +12,11 @@ import (
"github.com/gin-gonic/gin"
"github.com/peterbourgon/ff/v3"
"github.com/javtube/metatube-sdk-go/database"
"github.com/javtube/metatube-sdk-go/engine"
V "github.com/javtube/metatube-sdk-go/internal/version"
"github.com/javtube/metatube-sdk-go/route"
"github.com/javtube/metatube-sdk-go/route/auth"
"github.com/metatube-community/metatube-sdk-go/database"
"github.com/metatube-community/metatube-sdk-go/engine"
V "github.com/metatube-community/metatube-sdk-go/internal/version"
"github.com/metatube-community/metatube-sdk-go/route"
"github.com/metatube-community/metatube-sdk-go/route/auth"
)
const defaultRequestTimeout = time.Minute
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"github.com/hashicorp/go-retryablehttp"
"github.com/javtube/metatube-sdk-go/common/random"
"github.com/javtube/metatube-sdk-go/errors"
"github.com/metatube-community/metatube-sdk-go/common/random"
"github.com/metatube-community/metatube-sdk-go/errors"
)
var DefaultFetcher = Default(&Config{RandomUserAgent: true})
+1 -1
View File
@@ -3,7 +3,7 @@ package fetch
import (
"net/http"
"github.com/javtube/metatube-sdk-go/common/random"
"github.com/metatube-community/metatube-sdk-go/common/random"
)
// Context is used for each request.
+1 -1
View File
@@ -3,7 +3,7 @@ package m3u8
import (
"testing"
"github.com/javtube/metatube-sdk-go/common/fetch"
"github.com/metatube-community/metatube-sdk-go/common/fetch"
)
func TestParseBestMediaURI(t *testing.T) {
+7 -7
View File
@@ -7,13 +7,13 @@ import (
"gorm.io/gorm/clause"
"github.com/javtube/metatube-sdk-go/common/comparer"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/common/priority"
"github.com/javtube/metatube-sdk-go/engine/internal/utils"
"github.com/javtube/metatube-sdk-go/model"
mt "github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/gfriends"
"github.com/metatube-community/metatube-sdk-go/common/comparer"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/common/priority"
"github.com/metatube-community/metatube-sdk-go/engine/internal/utils"
"github.com/metatube-community/metatube-sdk-go/model"
mt "github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/gfriends"
)
func (e *Engine) searchActorFromDB(keyword string, provider mt.Provider) (results []*model.ActorSearchResult, err error) {
+4 -4
View File
@@ -8,10 +8,10 @@ import (
"gorm.io/gorm"
"github.com/javtube/metatube-sdk-go/common/fetch"
"github.com/javtube/metatube-sdk-go/database"
"github.com/javtube/metatube-sdk-go/model"
mt "github.com/javtube/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/common/fetch"
"github.com/metatube-community/metatube-sdk-go/database"
"github.com/metatube-community/metatube-sdk-go/model"
mt "github.com/metatube-community/metatube-sdk-go/provider"
)
type Engine struct {
+6 -6
View File
@@ -3,12 +3,12 @@ package engine
import (
"image"
"github.com/javtube/metatube-sdk-go/common/number"
R "github.com/javtube/metatube-sdk-go/constant"
"github.com/javtube/metatube-sdk-go/imageutil"
"github.com/javtube/metatube-sdk-go/imageutil/pigo"
"github.com/javtube/metatube-sdk-go/model"
mt "github.com/javtube/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/common/number"
R "github.com/metatube-community/metatube-sdk-go/constant"
"github.com/metatube-community/metatube-sdk-go/imageutil"
"github.com/metatube-community/metatube-sdk-go/imageutil/pigo"
"github.com/metatube-community/metatube-sdk-go/model"
mt "github.com/metatube-community/metatube-sdk-go/provider"
)
// Default position constants for different kind of images.
+1 -1
View File
@@ -3,7 +3,7 @@ package utils
import (
"github.com/iancoleman/orderedmap"
"github.com/javtube/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/model"
)
type ActorSearchResultSet struct {
+6 -6
View File
@@ -5,12 +5,12 @@ import (
"gorm.io/gorm/clause"
"github.com/javtube/metatube-sdk-go/common/comparer"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/priority"
"github.com/javtube/metatube-sdk-go/engine/internal/utils"
"github.com/javtube/metatube-sdk-go/model"
mt "github.com/javtube/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/common/comparer"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/priority"
"github.com/metatube-community/metatube-sdk-go/engine/internal/utils"
"github.com/metatube-community/metatube-sdk-go/model"
mt "github.com/metatube-community/metatube-sdk-go/provider"
)
func (e *Engine) searchMovieFromDB(keyword string, provider mt.MovieProvider, all bool) (results []*model.MovieSearchResult, err error) {
+33 -33
View File
@@ -2,37 +2,37 @@ package engine
// Register Providers
import (
_ "github.com/javtube/metatube-sdk-go/provider/10musume"
_ "github.com/javtube/metatube-sdk-go/provider/1pondo"
_ "github.com/javtube/metatube-sdk-go/provider/airav"
_ "github.com/javtube/metatube-sdk-go/provider/arzon"
_ "github.com/javtube/metatube-sdk-go/provider/aventertainments"
_ "github.com/javtube/metatube-sdk-go/provider/avwiki"
_ "github.com/javtube/metatube-sdk-go/provider/c0930"
_ "github.com/javtube/metatube-sdk-go/provider/caribbeancom"
_ "github.com/javtube/metatube-sdk-go/provider/caribbeancompr"
_ "github.com/javtube/metatube-sdk-go/provider/duga"
_ "github.com/javtube/metatube-sdk-go/provider/fanza"
_ "github.com/javtube/metatube-sdk-go/provider/fc2"
_ "github.com/javtube/metatube-sdk-go/provider/fc2hub"
_ "github.com/javtube/metatube-sdk-go/provider/gcolle"
_ "github.com/javtube/metatube-sdk-go/provider/getchu"
_ "github.com/javtube/metatube-sdk-go/provider/gfriends"
_ "github.com/javtube/metatube-sdk-go/provider/h0930"
_ "github.com/javtube/metatube-sdk-go/provider/h4610"
_ "github.com/javtube/metatube-sdk-go/provider/heydouga"
_ "github.com/javtube/metatube-sdk-go/provider/heyzo"
_ "github.com/javtube/metatube-sdk-go/provider/jav321"
_ "github.com/javtube/metatube-sdk-go/provider/javbus"
_ "github.com/javtube/metatube-sdk-go/provider/kin8tengoku"
_ "github.com/javtube/metatube-sdk-go/provider/mgstage"
_ "github.com/javtube/metatube-sdk-go/provider/muramura"
_ "github.com/javtube/metatube-sdk-go/provider/mywife"
_ "github.com/javtube/metatube-sdk-go/provider/pacopacomama"
_ "github.com/javtube/metatube-sdk-go/provider/pcolle"
_ "github.com/javtube/metatube-sdk-go/provider/prestige"
_ "github.com/javtube/metatube-sdk-go/provider/sod"
_ "github.com/javtube/metatube-sdk-go/provider/tokyo-hot"
_ "github.com/javtube/metatube-sdk-go/provider/xslist"
_ "github.com/javtube/metatube-sdk-go/provider/xxx-av"
_ "github.com/metatube-community/metatube-sdk-go/provider/10musume"
_ "github.com/metatube-community/metatube-sdk-go/provider/1pondo"
_ "github.com/metatube-community/metatube-sdk-go/provider/airav"
_ "github.com/metatube-community/metatube-sdk-go/provider/arzon"
_ "github.com/metatube-community/metatube-sdk-go/provider/aventertainments"
_ "github.com/metatube-community/metatube-sdk-go/provider/avwiki"
_ "github.com/metatube-community/metatube-sdk-go/provider/c0930"
_ "github.com/metatube-community/metatube-sdk-go/provider/caribbeancom"
_ "github.com/metatube-community/metatube-sdk-go/provider/caribbeancompr"
_ "github.com/metatube-community/metatube-sdk-go/provider/duga"
_ "github.com/metatube-community/metatube-sdk-go/provider/fanza"
_ "github.com/metatube-community/metatube-sdk-go/provider/fc2"
_ "github.com/metatube-community/metatube-sdk-go/provider/fc2hub"
_ "github.com/metatube-community/metatube-sdk-go/provider/gcolle"
_ "github.com/metatube-community/metatube-sdk-go/provider/getchu"
_ "github.com/metatube-community/metatube-sdk-go/provider/gfriends"
_ "github.com/metatube-community/metatube-sdk-go/provider/h0930"
_ "github.com/metatube-community/metatube-sdk-go/provider/h4610"
_ "github.com/metatube-community/metatube-sdk-go/provider/heydouga"
_ "github.com/metatube-community/metatube-sdk-go/provider/heyzo"
_ "github.com/metatube-community/metatube-sdk-go/provider/jav321"
_ "github.com/metatube-community/metatube-sdk-go/provider/javbus"
_ "github.com/metatube-community/metatube-sdk-go/provider/kin8tengoku"
_ "github.com/metatube-community/metatube-sdk-go/provider/mgstage"
_ "github.com/metatube-community/metatube-sdk-go/provider/muramura"
_ "github.com/metatube-community/metatube-sdk-go/provider/mywife"
_ "github.com/metatube-community/metatube-sdk-go/provider/pacopacomama"
_ "github.com/metatube-community/metatube-sdk-go/provider/pcolle"
_ "github.com/metatube-community/metatube-sdk-go/provider/prestige"
_ "github.com/metatube-community/metatube-sdk-go/provider/sod"
_ "github.com/metatube-community/metatube-sdk-go/provider/tokyo-hot"
_ "github.com/metatube-community/metatube-sdk-go/provider/xslist"
_ "github.com/metatube-community/metatube-sdk-go/provider/xxx-av"
)
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/javtube/metatube-sdk-go
module github.com/metatube-community/metatube-sdk-go
go 1.19
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"github.com/jellydator/ttlcache/v3"
"github.com/javtube/metatube-sdk-go/common/fetch"
"github.com/javtube/metatube-sdk-go/imageutil"
"github.com/metatube-community/metatube-sdk-go/common/fetch"
"github.com/metatube-community/metatube-sdk-go/imageutil"
)
var (
+2 -2
View File
@@ -3,8 +3,8 @@ package tenmusume
import (
"regexp"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/1pondo/core"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/1pondo/core"
)
var _ provider.MovieProvider = (*TenMusume)(nil)
+2 -2
View File
@@ -3,8 +3,8 @@ package onepondo
import (
"regexp"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/1pondo/core"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/1pondo/core"
)
var _ provider.MovieProvider = (*OnePondo)(nil)
+3 -3
View File
@@ -13,9 +13,9 @@ import (
"github.com/gocolly/colly/v2"
"github.com/nlnwa/whatwg-url/url"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
// API Paths
+4 -4
View File
@@ -9,10 +9,10 @@ import (
"github.com/gocolly/colly/v2"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+6 -6
View File
@@ -10,12 +10,12 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/fetch"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/fetch"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
@@ -10,11 +10,11 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+11 -11
View File
@@ -12,17 +12,17 @@ import (
"github.com/gocolly/colly/v2"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/common/singledo"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/duga"
"github.com/javtube/metatube-sdk-go/provider/fanza"
"github.com/javtube/metatube-sdk-go/provider/getchu"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/javtube/metatube-sdk-go/provider/mgstage"
"github.com/javtube/metatube-sdk-go/provider/pcolle"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/common/singledo"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/duga"
"github.com/metatube-community/metatube-sdk-go/provider/fanza"
"github.com/metatube-community/metatube-sdk-go/provider/getchu"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/provider/mgstage"
"github.com/metatube-community/metatube-sdk-go/provider/pcolle"
)
var (
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"regexp"
"strings"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/h0930/core"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/h0930/core"
)
var _ provider.MovieProvider = (*C0930)(nil)
+2 -2
View File
@@ -3,8 +3,8 @@ package caribbeancom
import (
"regexp"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/caribbeancom/core"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/caribbeancom/core"
)
var _ provider.MovieProvider = (*Caribbeancom)(nil)
+3 -3
View File
@@ -13,9 +13,9 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
type Core struct {
+2 -2
View File
@@ -3,8 +3,8 @@ package caribbeancompr
import (
"regexp"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/caribbeancom/core"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/caribbeancom/core"
)
var _ provider.MovieProvider = (*CaribbeancomPremium)(nil)
+5 -5
View File
@@ -11,11 +11,11 @@ import (
"github.com/gocolly/colly/v2"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+1 -1
View File
@@ -3,7 +3,7 @@ package provider
import (
"net/http"
"github.com/javtube/metatube-sdk-go/errors"
"github.com/metatube-community/metatube-sdk-go/errors"
)
var (
+7 -7
View File
@@ -17,13 +17,13 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/comparer"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/imhelper"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/comparer"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/imhelper"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+4 -4
View File
@@ -9,10 +9,10 @@ import (
"github.com/gocolly/colly/v2"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var _ provider.MovieProvider = (*FC2)(nil)
+5 -5
View File
@@ -11,11 +11,11 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/fc2"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/fc2"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+4 -4
View File
@@ -10,10 +10,10 @@ import (
"github.com/gocolly/colly/v2"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var _ provider.MovieProvider = (*Gcolle)(nil)
+4 -4
View File
@@ -11,10 +11,10 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var _ provider.MovieProvider = (*Getchu)(nil)
+5 -5
View File
@@ -9,11 +9,11 @@ import (
"github.com/iancoleman/orderedmap"
"github.com/javtube/metatube-sdk-go/common/fetch"
"github.com/javtube/metatube-sdk-go/common/reverse"
"github.com/javtube/metatube-sdk-go/common/singledo"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/common/fetch"
"github.com/metatube-community/metatube-sdk-go/common/reverse"
"github.com/metatube-community/metatube-sdk-go/common/singledo"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
)
var (
+3 -3
View File
@@ -11,9 +11,9 @@ import (
"github.com/gocolly/colly/v2"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
type Core struct {
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"regexp"
"strings"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/h0930/core"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/h0930/core"
)
var _ provider.MovieProvider = (*H0930)(nil)
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"regexp"
"strings"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/h0930/core"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/h0930/core"
)
var _ provider.MovieProvider = (*H4610)(nil)
+4 -4
View File
@@ -11,10 +11,10 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var _ provider.MovieProvider = (*HeyDouga)(nil)
+5 -5
View File
@@ -11,11 +11,11 @@ import (
"github.com/gocolly/colly/v2"
"github.com/javtube/metatube-sdk-go/common/m3u8"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/m3u8"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var _ provider.MovieProvider = (*Heyzo)(nil)
+3 -3
View File
@@ -5,9 +5,9 @@ import (
"math"
"sync"
"github.com/javtube/metatube-sdk-go/common/fetch"
"github.com/javtube/metatube-sdk-go/imageutil"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/common/fetch"
"github.com/metatube-community/metatube-sdk-go/imageutil"
"github.com/metatube-community/metatube-sdk-go/provider"
)
var imageFetcher = fetch.Default(nil)
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/gocolly/colly/v2"
"github.com/gocolly/colly/v2/debug"
"github.com/javtube/metatube-sdk-go/common/random"
"github.com/metatube-community/metatube-sdk-go/common/random"
)
type Option func(*Scraper) error
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"github.com/gocolly/colly/v2"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider"
)
var _ provider.Provider = (*Scraper)(nil)
+5 -5
View File
@@ -11,11 +11,11 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+5 -5
View File
@@ -11,11 +11,11 @@ import (
"github.com/gocolly/colly/v2"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+4 -4
View File
@@ -14,10 +14,10 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var _ provider.MovieProvider = (*KIN8)(nil)
+5 -5
View File
@@ -14,11 +14,11 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+2 -2
View File
@@ -3,8 +3,8 @@ package muramura
import (
"regexp"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/1pondo/core"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/1pondo/core"
)
var _ provider.MovieProvider = (*MuraMura)(nil)
+3 -3
View File
@@ -9,9 +9,9 @@ import (
"github.com/gocolly/colly/v2"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var _ provider.MovieProvider = (*MyWife)(nil)
+2 -2
View File
@@ -3,8 +3,8 @@ package pacopacomama
import (
"regexp"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/1pondo/core"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/1pondo/core"
)
var _ provider.MovieProvider = (*Pacopacomama)(nil)
+4 -4
View File
@@ -11,10 +11,10 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var _ provider.MovieProvider = (*Pcolle)(nil)
+5 -5
View File
@@ -12,11 +12,11 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net/url"
"time"
"github.com/javtube/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/model"
)
type Provider interface {
+6 -6
View File
@@ -9,12 +9,12 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/fetch"
"github.com/javtube/metatube-sdk-go/common/number"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/fetch"
"github.com/metatube-community/metatube-sdk-go/common/number"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+4 -4
View File
@@ -13,10 +13,10 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+4 -4
View File
@@ -12,10 +12,10 @@ import (
"golang.org/x/net/html"
dt "gorm.io/datatypes"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var (
+4 -4
View File
@@ -12,10 +12,10 @@ import (
"github.com/gocolly/colly/v2"
"golang.org/x/net/html"
"github.com/javtube/metatube-sdk-go/common/parser"
"github.com/javtube/metatube-sdk-go/model"
"github.com/javtube/metatube-sdk-go/provider"
"github.com/javtube/metatube-sdk-go/provider/internal/scraper"
"github.com/metatube-community/metatube-sdk-go/common/parser"
"github.com/metatube-community/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/provider/internal/scraper"
)
var _ provider.MovieProvider = (*TripleX)(nil)
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"github.com/gin-gonic/gin"
"github.com/javtube/metatube-sdk-go/errors"
"github.com/javtube/metatube-sdk-go/route/auth"
"github.com/metatube-community/metatube-sdk-go/errors"
"github.com/metatube-community/metatube-sdk-go/route/auth"
)
func authentication(v auth.Validator) gin.HandlerFunc {
+4 -4
View File
@@ -10,10 +10,10 @@ import (
"github.com/gin-gonic/gin"
"github.com/gin-gonic/gin/render"
R "github.com/javtube/metatube-sdk-go/constant"
"github.com/javtube/metatube-sdk-go/engine"
"github.com/javtube/metatube-sdk-go/imageutil/badge"
mt "github.com/javtube/metatube-sdk-go/provider"
R "github.com/metatube-community/metatube-sdk-go/constant"
"github.com/metatube-community/metatube-sdk-go/engine"
"github.com/metatube-community/metatube-sdk-go/imageutil/badge"
mt "github.com/metatube-community/metatube-sdk-go/provider"
)
type imageType uint8
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/javtube/metatube-sdk-go/engine"
"github.com/metatube-community/metatube-sdk-go/engine"
)
type infoType uint8
+3 -3
View File
@@ -6,9 +6,9 @@ import (
"github.com/gin-gonic/gin"
"github.com/javtube/metatube-sdk-go/engine"
"github.com/javtube/metatube-sdk-go/model"
mt "github.com/javtube/metatube-sdk-go/provider"
"github.com/metatube-community/metatube-sdk-go/engine"
"github.com/metatube-community/metatube-sdk-go/model"
mt "github.com/metatube-community/metatube-sdk-go/provider"
)
func redirect(app *engine.Engine) gin.HandlerFunc {
+4 -4
View File
@@ -6,10 +6,10 @@ import (
"github.com/gin-gonic/gin"
"github.com/javtube/metatube-sdk-go/engine"
"github.com/javtube/metatube-sdk-go/errors"
V "github.com/javtube/metatube-sdk-go/internal/version"
"github.com/javtube/metatube-sdk-go/route/auth"
"github.com/metatube-community/metatube-sdk-go/engine"
"github.com/metatube-community/metatube-sdk-go/errors"
V "github.com/metatube-community/metatube-sdk-go/internal/version"
"github.com/metatube-community/metatube-sdk-go/route/auth"
)
func New(app *engine.Engine, v auth.Validator) *gin.Engine {
+3 -3
View File
@@ -6,9 +6,9 @@ import (
"github.com/gin-gonic/gin"
"github.com/javtube/metatube-sdk-go/engine"
"github.com/javtube/metatube-sdk-go/errors"
"github.com/javtube/metatube-sdk-go/model"
"github.com/metatube-community/metatube-sdk-go/engine"
"github.com/metatube-community/metatube-sdk-go/errors"
"github.com/metatube-community/metatube-sdk-go/model"
)
type searchType uint8
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/javtube/metatube-sdk-go/translate"
"github.com/metatube-community/metatube-sdk-go/translate"
)
const (
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"strings"
"time"
"github.com/javtube/metatube-sdk-go/common/fetch"
"github.com/metatube-community/metatube-sdk-go/common/fetch"
)
const baiduTranslateAPI = "https://api.fanyi.baidu.com/api/trans/vip/translate"
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net/http"
"strings"
"github.com/javtube/metatube-sdk-go/common/fetch"
"github.com/metatube-community/metatube-sdk-go/common/fetch"
)
const deeplTranslateAPI = "https://api-free.deepl.com/v2/translate"
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"golang.org/x/text/language"
"github.com/javtube/metatube-sdk-go/common/fetch"
"github.com/javtube/metatube-sdk-go/errors"
"github.com/metatube-community/metatube-sdk-go/common/fetch"
"github.com/metatube-community/metatube-sdk-go/errors"
)
const googleTranslateAPI = "https://translation.googleapis.com/language/translate/v2"