File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -204,12 +204,15 @@ let getBili = {
204
204
time : x . desc . timestamp ,
205
205
type : x . desc . type
206
206
} ;
207
- // desc.type 8 是视频 64是专栏 2是动态
207
+ // desc.type 8 是视频 64是专栏 2是动态 4是无图片动态
208
208
// todo 等微博数据分析完毕 就添加titile
209
209
if ( x . desc . type == 2 ) {
210
210
card . image = ( dynamicInfo . item . pictures && dynamicInfo . item . pictures . length > 0 ) ? dynamicInfo . item . pictures [ 0 ] . img_src : null ;
211
211
card . dynamicInfo = dynamicInfo . item . description ;
212
212
card . url = `https://t.bilibili.com/${ x . desc . dynamic_id_str } `
213
+ } else if ( x . desc . type == 4 ) {
214
+ card . dynamicInfo = dynamicInfo . item . content ;
215
+ card . url = `https://t.bilibili.com/${ x . desc . dynamic_id_str } `
213
216
} else if ( x . desc . type == 8 ) {
214
217
card . image = dynamicInfo . pic ;
215
218
card . dynamicInfo = dynamicInfo . dynamic ;
You can’t perform that action at this time.
0 commit comments