[allocine] user agent android
This commit is contained in:
parent
219437bf8a
commit
4de668e80e
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class AllocineBrowser(BaseBrowser):
|
|||
DOMAIN = 'api.allocine.fr'
|
||||
PROTOCOL = 'http'
|
||||
ENCODING = 'utf-8'
|
||||
USER_AGENT = BaseBrowser.USER_AGENTS['wget']
|
||||
USER_AGENT = BaseBrowser.USER_AGENTS['android']
|
||||
|
||||
def iter_movies(self, pattern):
|
||||
res = self.readurl('http://api.allocine.fr/rest/v3/search?partner=YW5kcm9pZC12M3M&filter=movie&q=%s&format=json' % pattern.encode('utf-8'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue