feat: add URL resolver
This commit is contained in:
parent
2b70badd4e
commit
b22f6995cc
22 changed files with 673 additions and 279 deletions
|
|
@ -239,7 +239,7 @@ impl MapResponse<VideoDetails> for response::VideoDetails {
|
|||
page_type,
|
||||
browse_id,
|
||||
} => match page_type {
|
||||
crate::serializer::text::PageType::Channel => (browse_id, text),
|
||||
response::url_endpoint::PageType::Channel => (browse_id, text),
|
||||
_ => {
|
||||
return Err(ExtractionError::InvalidData(
|
||||
"invalid channel link type".into(),
|
||||
|
|
|
|||
Reference in a new issue