|
|
|
@ -76,8 +76,8 @@ class Douyin extends HeroBot {
@@ -76,8 +76,8 @@ class Douyin extends HeroBot {
|
|
|
|
|
elType = 'video'; |
|
|
|
|
|
|
|
|
|
if (!imgElem) { |
|
|
|
|
//尝试获取用户头像作为封面图,兼容直播页面
|
|
|
|
|
imgElem = await hero.querySelector('.avatar-component-avatar-container img'); |
|
|
|
|
//尝试获取用户头像作为封面图,兼容直播已结束页面
|
|
|
|
|
imgElem = await hero.querySelector('.reflow-content img'); |
|
|
|
|
elType = 'image'; |
|
|
|
|
|
|
|
|
|
if (!imgElem) { |
|
|
|
|