|
@@ -215,7 +215,7 @@ class GZXHAuthor:
|
|
|
return url
|
|
|
|
|
|
|
|
|
- def get_video_url(self, url: str):
|
|
|
+ def get_video_url_new(self, url: str):
|
|
|
for i in range(3):
|
|
|
js_code = self.get_js(url)
|
|
|
regex = r"video_id:\s*'([^']*)'"
|
|
@@ -315,7 +315,7 @@ class GZXHAuthor:
|
|
|
publish_time_stamp = int(date_time_obj.timestamp())
|
|
|
article_url = article.get("url", "")
|
|
|
if article_url:
|
|
|
- video_url = self.get_video_url(article_url)
|
|
|
+ video_url = self.get_video_url_new(article_url)
|
|
|
|
|
|
video_id = wechat_gh + str(int(date_time_obj.timestamp()))
|
|
|
cover_url = article.get("head_pic", "")
|