Beispiel #1
0
 def getMovie(self, id):
     self.get_token()
     response = self.login(
         self.username,
         self.password,
         {'referer': id})
     return Movie().get(response)
Beispiel #2
0
 def getMovie(self, url):
     # self.get_token()
     # response = self.login(
     #     self.username,
     #     self.password,
     #     {'referer': id})
     return Movie().get(self.request.get(url))
Beispiel #3
0
 def getLink(self, url):
     response = self.request.get(url)
     return Movie().get_link(response)