-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: facebook extractor #1029
fix: facebook extractor #1029
Conversation
/cc @iawia002 |
|
||
qualityRegMap := map[string]*regexp.Regexp{ | ||
"sd": regexp.MustCompile(`"playable_url":\s*"([^"]+)"`), | ||
// "hd": regexp.MustCompile(`"playable_url_quality_hd":\s*"([^"]+)"`), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个为啥又注释掉了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因为虽然 fb 返回了这个地址,但这个地址直接访问时访问不了的,返回 403,可能还需要一些额外的参数,比如签名等。
目前没有搞清楚,所以只能先注释起来
Co-authored-by: Xinzhao Xu <z2d@jifangcheng.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
close #1021
close #500