Update IMDB.py
parent
6190cef548
commit
e9107b5436
|
@ -29,6 +29,7 @@ class IMDB(Content.Content):
|
||||||
category_dict = {
|
category_dict = {
|
||||||
'movies': ('Movies', '/search/title?languages=en|1&title_type=feature&sort=moviemeter,asc'),
|
'movies': ('Movies', '/search/title?languages=en|1&title_type=feature&sort=moviemeter,asc'),
|
||||||
'rus_movies': ('Russian Movies', '/search/title?languages=ru|1&title_type=feature&sort=moviemeter,asc'),
|
'rus_movies': ('Russian Movies', '/search/title?languages=ru|1&title_type=feature&sort=moviemeter,asc'),
|
||||||
|
'heb_movies': ('סרטים ישראלים', '/search/title?languages=he|1&title_type=feature&sort=moviemeter,asc'),
|
||||||
'tvshows': ('TV Shows', '/search/title?count=100&title_type=tv_series,mini_series&ref_=gnr_tv_mp'),
|
'tvshows': ('TV Shows', '/search/title?count=100&title_type=tv_series,mini_series&ref_=gnr_tv_mp'),
|
||||||
'cartoons': ('Cartoons', '/search/title?genres=animation&title_type=feature&sort=moviemeter,asc'),
|
'cartoons': ('Cartoons', '/search/title?genres=animation&title_type=feature&sort=moviemeter,asc'),
|
||||||
'anime': ('Anime',
|
'anime': ('Anime',
|
||||||
|
@ -73,7 +74,7 @@ class IMDB(Content.Content):
|
||||||
headers = [('User-Agent',
|
headers = [('User-Agent',
|
||||||
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124' + \
|
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124' + \
|
||||||
' YaBrowser/14.10.2062.12061 Safari/537.36'),
|
' YaBrowser/14.10.2062.12061 Safari/537.36'),
|
||||||
('Referer', baseurl), ('Accept-Encoding', 'gzip'), ('Accept-Language', 'ru,en;q=0.8')]
|
('Referer', baseurl), ('Accept-Encoding', 'gzip'), ('Accept-Language', 'he,en,ru;q=0.8')]
|
||||||
'''
|
'''
|
||||||
Weight of source with this searcher provided.
|
Weight of source with this searcher provided.
|
||||||
Will be multiplied on default weight.
|
Will be multiplied on default weight.
|
||||||
|
@ -248,4 +249,4 @@ class IMDB(Content.Content):
|
||||||
- votes : string (12345 votes)
|
- votes : string (12345 votes)
|
||||||
- trailer : string (/home/user/trailer.avi)
|
- trailer : string (/home/user/trailer.avi)
|
||||||
- dateadded : string (Y-m-d h:m:s = 2009-04-05 23:16:04)
|
- dateadded : string (Y-m-d h:m:s = 2009-04-05 23:16:04)
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue