projects
/
plugin.video.netflix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore(debug): Adds HTML debug output
[plugin.video.netflix.git]
/
resources
/
lib
/
NetflixSession.py
diff --git
a/resources/lib/NetflixSession.py
b/resources/lib/NetflixSession.py
index e5d32191bcb993adcf599f64d26897f14153fd02..eed11b3aff82e0697fd83a62a498671e1403c6f7 100644
(file)
--- a/
resources/lib/NetflixSession.py
+++ b/
resources/lib/NetflixSession.py
@@
-149,7
+149,9
@@
class NetflixSession:
:obj:`list` of :obj:`dict`
List of all the serialized data pulled out of the pagws <script/> tags
"""
:obj:`list` of :obj:`dict`
List of all the serialized data pulled out of the pagws <script/> tags
"""
- scripts = page_soup.find_all('script', attrs={'src': None});
+ scripts = page_soup.find_all('script', attrs={'src': None})
+ self.log(msg='Debug output for HTML contents:')
+ self.log(msg=page_soup)
self.log(msg='Trying sloppy inline data parser')
inline_data = self._sloppy_parse_inline_data(scripts=scripts)
if self._verfify_auth_and_profiles_data(data=inline_data) != False:
self.log(msg='Trying sloppy inline data parser')
inline_data = self._sloppy_parse_inline_data(scripts=scripts)
if self._verfify_auth_and_profiles_data(data=inline_data) != False:
@@
-1360,7
+1362,7
@@
class NetflixSession:
response = self._path_request(paths=paths)
return self._process_response(response=response, component='Search results')
response = self._path_request(paths=paths)
return self._process_response(response=response, component='Search results')
- def fetch_video_list (self, list_id, list_from=0, list_to=2
0
):
+ def fetch_video_list (self, list_id, list_from=0, list_to=2
6
):
"""Fetches the JSON which contains the contents of a given video list
Parameters
"""Fetches the JSON which contains the contents of a given video list
Parameters