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):
|
def get_movie_id(request):
|
||||||
movie_id = None
|
movie_id = None
|
||||||
if 'movieId' in request.GET:
|
if 'itemId' in request.GET:
|
||||||
movieId = request.GET['movieId']
|
movieId = request.GET['itemId']
|
||||||
if len(movieId) == 7:
|
if len(movieId) == 7:
|
||||||
movie_id = models.getMovieIdByImdbId(imdb_id=movieId)
|
movie_id = models.getMovieIdByImdbId(imdb_id=movieId)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue