itemId
This commit is contained in:
parent
1ef514ef4c
commit
8586fa6f07
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ import models
|
|||
|
||||
def get_movie_id(request):
|
||||
movie_id = None
|
||||
if 'movieId' in request.GET:
|
||||
movieId = request.GET['movieId']
|
||||
if 'itemId' in request.GET:
|
||||
movieId = request.GET['itemId']
|
||||
if len(movieId) == 7:
|
||||
movie_id = models.getMovieIdByImdbId(imdb_id=movieId)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue