-
Notifications
You must be signed in to change notification settings - Fork 256
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(pt/animesonline): Rename + Update baseUrl + Fix extractors #3301
fix(pt/animesonline): Rename + Update baseUrl + Fix extractors #3301
Conversation
val iframe = player.root().selectFirst("div#source-player-$playerId iframe") | ||
|
||
return iframe?.attr("src")?.takeIf(String::isNotBlank) |
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.
val iframe = player.root().selectFirst("div#source-player-$playerId iframe") | |
return iframe?.attr("src")?.takeIf(String::isNotBlank) | |
val iframe = player.root().selectFirst("div#source-player-$playerId iframe[src]") | |
return iframe?.attr("src") |
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.
the problem isn't the lack of the src
attribute. This source is cursed enough to sometimes put a <iframe src="">
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.
how about iframe[src~=.]
then
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.
still matches a src=" "
, but I never saw this in the source (yet) so I guess it's safe
Closes #3289
Checklist:
extVersionCode
value inbuild.gradle
for individual extensionsoverrideVersionCode
orbaseVersionCode
as needed for all multisrc extensionsisNsfw = true
flag inbuild.gradle
when appropriateid
if a source's name or language were changedweb_hi_res_512.png
when adding a new extension