diff --git a/models/cms.py b/models/cms.py index 973789e7b63e122b95ee91af65801db8fbe86cf1..6ded2325b144ba8bcc4520c18c25a4ef23d296b3 100644 --- a/models/cms.py +++ b/models/cms.py @@ -204,6 +204,7 @@ class CMS: "vod_remarks": desc, "vod_content": content, }) + print(videos) result['list'] = videos result['page'] = fypage result['pagecount'] = 9999 diff --git a/utils/htmlParser.py b/utils/htmlParser.py index 85739d66ba158a1a67fee38d9ff92f5da62b63ce..32570f00e001a2b657451637824ff0e2f1072446 100644 --- a/utils/htmlParser.py +++ b/utils/htmlParser.py @@ -26,7 +26,7 @@ class jsoup: ret = ret.html() else: ret = ret.attr(option) - if pd and option in ['url','src','href','data-original']: + if pd and option in ['url','src','href','data-original','data-src']: ret = urljoin(self.MY_URL,ret) else: # ret = doc(parse+':first')