Skip to content

Commit

Permalink
extractors/weibo: 🔧 title [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
iawia002 committed Jun 4, 2018
1 parent 8ac336d commit 8d3be09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extractors/weibo.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ func Weibo(url string) downloader.VideoData {
}
}
html := request.Get(url, url, nil)
title := utils.MatchOneOf(html, `"content2": "(.+?)",`)[1]
title := utils.MatchOneOf(
html, `"content2": "(.+?)",`, `"status_title": "(.+?)",`,
)[1]
realURL := utils.MatchOneOf(
html, `"stream_url_hd": "(.+?)"`, `"stream_url": "(.+?)"`,
)[1]
Expand Down

0 comments on commit 8d3be09

Please sign in to comment.