fix: instantiate deobfuscator in mapresponse fn
Reason: quickjs context is not Send
This commit is contained in:
parent
d9e07b37e6
commit
ee5e82f6bb
17 changed files with 74 additions and 84 deletions
|
|
@ -51,7 +51,7 @@ impl<T: FromYtItem> MapResponse<Vec<T>> for response::MusicNew {
|
|||
self,
|
||||
_id: &str,
|
||||
lang: crate::param::Language,
|
||||
_deobf: Option<&crate::deobfuscate::Deobfuscator>,
|
||||
_deobf: Option<&crate::deobfuscate::DeobfData>,
|
||||
) -> Result<crate::serializer::MapResult<Vec<T>>, ExtractionError> {
|
||||
let items = self
|
||||
.contents
|
||||
|
|
|
|||
Reference in a new issue