mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-08-31 22:35:50 +00:00
fix hashtag parsing
This commit is contained in:
@@ -172,9 +172,13 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
||||
// so we don't need to override it.
|
||||
final String link =
|
||||
Parser.compatParseMap(queryString).get("q");
|
||||
|
||||
// if link is null the a tag is a hashtag. They refer to the youtube search. We do not handle them.
|
||||
if(link != null) {
|
||||
a.text(link);
|
||||
}
|
||||
}
|
||||
}
|
||||
return description.select("body").first().html();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user