def is_anime(content, type, type_id):
    from openscrapers.modules import trakt
    try:
        r = trakt.getGenre(content, type, type_id)
        return 'anime' in r or 'animation' in r
    except:
        return False
Beispiel #2
0
def is_anime(content, type, type_id):
	try:
		r = trakt.getGenre(content, type, type_id)
		return 'anime' in r or 'animation' in r
	except:
		return False