func DetectComic(url string) (string, bool, bool) {
	var (
		isSupported bool
		isDisabled  bool
		source      string
	)

	source, err := util.URLSource(url)

	if err != nil {
		log.Error(err)
	}

	for k, v := range SupportedSites {
		if k != source {
			continue
		}

		isSupported = true
		isDisabled = v["isDisabled"]
	}

	return source, isSupported, isDisabled
}
// DetectComic will look for the url source to check if a source is supported.
DetectComic will look for the url source to check if a source is supported.
// DetectComic will look for the url source to check if a source is supported .
func DetectComic(url string) (string, bool, bool) {
	var (
		isSupported bool
		isDisabled  bool
		source      string
	)
	source, err := util.URLSource(url)
	if err != nil {
		log.Error(err)
	}
	for k, v := range SupportedSites {
		if k != source {
			continue
		}
		isSupported = true
		isDisabled = v["isDisabled"]
	}
	return source, isSupported, isDisabled
}
func DetectComic ( url string ) ( string , bool , bool ) { var ( isSupported bool isDisabled bool source string ) source , err := util . URLSource ( url ) if err != nil { log . Error ( err ) } for k , v := range SupportedSites { if k != source { continue } isSupported = true isDisabled = v [ " " ] } return source , isSupported , isDisabled }
DetectComic will look for the url source to check if a source is supported.
DetectComic will look for the url source to check if a source is supported .