示例#1
0
 def movie(self, imdb, title, year):
     self.elysium_url = []
     try:
         url = self.base_link
         title = cleantitle_geturl(title)
         query = title + "-" + year
         query = self.movie_link % query
         url = urlparse.urljoin(self.base_link, query)
         print("PROJECTFREETV URL", url)
         return url
     except:
         return
示例#2
0
文件: wso.py 项目: ItsMYZTIK/tdbaddon
    def movie(self, imdb, title, year):
        self.zen_url = []
        try:

            # print("WATCHCARTOON")
            title = cleantitle_geturl(title)
            url = self.movie_link % (title, year)
            url = url.encode('utf-8')
            print("WSO URL", url)
            return url

        except:
            return
示例#3
0
    def movie(self, imdb, title, year):
        self.zentester_url = []
        try:

            # print("WATCHCARTOON")
            title = cleantitle_query(title)
            title = cleantitle_geturl(title)
            query = self.movie_link % (title, year)
            url = urlparse.urljoin(self.base_link, query)

            return url

        except:
            return
示例#4
0
	def movie(self, imdb, title, year):
		self.elysium_url = []
		try:
				
			# print("WATCHCARTOON")
			title = cleantitle_geturl(title)
			url = self.movie_link % (title, year)
			url = url.encode('utf-8')
			print("WSO URL", url)
			return url
					
			
		except:
			return
示例#5
0
 def movie(self, imdb, title, year):
     self.zen_url = []
     try:
         url = self.base_link
         title = cleantitle_geturl(title)
         query = title
         query = self.movie_link % query
         url = urlparse.urljoin(self.base_link, query)
         r = OPEN_URL(url).content
         check = re.findall('span class="date">(.+?)</span>', r)[0]
         if year in check:
             print("123MOVIES FOUND MOVIE", url)
             self.zen_url.append(url)
             return self.zen_url
     except:
         return
示例#6
0
	def movie(self, imdb, title, year):
		self.elysium_url = []
		try:
			url = self.base_link
			title = cleantitle_geturl(title)
			query = title
			query = self.movie_link % query
			url = urlparse.urljoin(self.base_link, query)
			r = OPEN_URL(url).content
			check = re.findall('span class="date">(.+?)</span>',r)[0]
			if year in check:
				print ("123MOVIES FOUND MOVIE", url)
				self.elysium_url.append(url)
				return self.elysium_url
		except:
			return
示例#7
0
	def movie(self, imdb, title, year):
		self.zentester_url = []
		try:
			
			# print("WATCHCARTOON")
			title = cleantitle_query(title)
			title = cleantitle_geturl(title)
			query = self.movie_link % (title, year)
			url = urlparse.urljoin(self.base_link, query)

			
			return url
					
			
		except:
			return
示例#8
0
	def episode(self, url, imdb, tvdb, title, premiered, season, episode):
		self.zentester_url = []
		try:
			
			data = urlparse.parse_qs(url)
			data = dict([(i, data[i][0]) if data[i] else (i, '') for i in data])
			title = data['tvshowtitle'] if 'tvshowtitle' in data else data['title']
			data['season'], data['episode'] = season, episode
			episodeid = "s%02de%02d" % (int(data['season']) , int(data['episode']))
			title = cleantitle_query(title)
			title =cleantitle_geturl(title)
			
			query= self.ep_link % (title,episodeid)
			url = urlparse.urljoin(self.base_link, query)
			return url
		except:
			return
示例#9
0
	def episode(self, url, imdb, tvdb, title, premiered, season, episode):
		self.elysium_url = []
		try:
			
			data = urlparse.parse_qs(url)
			data = dict([(i, data[i][0]) if data[i] else (i, '') for i in data])
			title = data['tvshowtitle'] if 'tvshowtitle' in data else data['title']
			data['season'], data['episode'] = season, episode
			self.elysium_url = []

			title = cleantitle_geturl(title)
			query = title + "-" + season + "x" + episode
			query= self.ep_link % query
			url = urlparse.urljoin(self.base_link, query)

			self.elysium_url.append(url)
			return self.elysium_url
		except:
			return
示例#10
0
	def episode(self, url, imdb, tvdb, title, premiered, season, episode):
		self.elysium_url = []
		try:
			
			data = urlparse.parse_qs(url)
			data = dict([(i, data[i][0]) if data[i] else (i, '') for i in data])
			title = data['tvshowtitle'] if 'tvshowtitle' in data else data['title']
			data['season'], data['episode'] = season, episode
			self.elysium_url = []

			title = cleantitle_geturl(title)
			query = title + "-" + season + "x" + episode
			query= self.ep_link % query
			url = urlparse.urljoin(self.base_link, query)

			self.elysium_url.append(url)
			return self.elysium_url
		except:
			return
示例#11
0
	def episode(self, url, imdb, tvdb, title, premiered, season, episode):
		self.elysium_url = []
		try:
			
			data = urlparse.parse_qs(url)
			data = dict([(i, data[i][0]) if data[i] else (i, '') for i in data])
			title = data['tvshowtitle'] if 'tvshowtitle' in data else data['title']
			data['season'], data['episode'] = season, episode
			episodeid = "s%02de%02d" % (int(data['season']) , int(data['episode']))
			title = cleantitle_geturl(title)

			query = title + "-" + episodeid
			url= self.ep_link % query

			print("Watchfilm TV SHOW", url)

			return url
		except:
			return
示例#12
0
    def episode(self, url, imdb, tvdb, title, premiered, season, episode):
        self.zentester_url = []
        try:

            data = urlparse.parse_qs(url)
            data = dict([(i, data[i][0]) if data[i] else (i, '')
                         for i in data])
            title = data['tvshowtitle'] if 'tvshowtitle' in data else data[
                'title']
            data['season'], data['episode'] = season, episode
            episodeid = "s%02de%02d" % (int(
                data['season']), int(data['episode']))
            title = cleantitle_query(title)
            title = cleantitle_geturl(title)

            query = self.ep_link % (title, episodeid)
            url = urlparse.urljoin(self.base_link, query)
            return url
        except:
            return
示例#13
0
文件: wso.py 项目: ItsMYZTIK/tdbaddon
    def episode(self, url, imdb, tvdb, title, premiered, season, episode):
        self.zen_url = []
        try:

            data = urlparse.parse_qs(url)
            data = dict([(i, data[i][0]) if data[i] else (i, '')
                         for i in data])
            title = data['tvshowtitle'] if 'tvshowtitle' in data else data[
                'title']
            data['season'], data['episode'] = season, episode
            episodeid = "s%02de%02d" % (int(
                data['season']), int(data['episode']))
            title = cleantitle_geturl(title)

            query = title + "-" + episodeid
            url = self.ep_link % query

            print("Watchfilm TV SHOW", url)

            return url
        except:
            return