Trakt: Remove unused parameters from boxoffice lists lookup

pull/105/head
desimaniac 5 years ago
parent c655c91b7d
commit b6de103bf9

@ -811,11 +811,6 @@ class Trakt:
def get_boxoffice_movies( def get_boxoffice_movies(
self, self,
limit=1000, limit=1000,
years=None,
countries=None,
languages=None,
genres=None,
runtimes=None,
): ):
return self._make_items_request( return self._make_items_request(
@ -823,11 +818,6 @@ class Trakt:
object_name='movies', object_name='movies',
type_name='anticipated', type_name='anticipated',
limit=limit, limit=limit,
years=years,
countries=countries,
languages=languages,
genres=genres,
runtimes=runtimes,
) )
def get_recommended_movies( def get_recommended_movies(

@ -990,13 +990,7 @@ def movies(
) )
elif list_type.lower() == 'boxoffice': elif list_type.lower() == 'boxoffice':
trakt_objects_list = trakt.get_boxoffice_movies( trakt_objects_list = trakt.get_boxoffice_movies()
years=years,
countries=countries,
languages=languages,
genres=genres,
runtimes=runtimes,
)
elif list_type.lower() == 'person': elif list_type.lower() == 'person':
if not actor: if not actor:

Loading…
Cancel
Save