Skip to content

Conversation

@Luna712
Copy link
Contributor

@Luna712 Luna712 commented Nov 10, 2025

It's a warning on Kotlin 2.3 and will be an error in 2.4:

Type annotation class 'Nullable' of the inferred type is inaccessible. Check the module classpath for missing or conflicting dependencies. This will become an error in language version 2.4.

It's a warning on Kotlin 2.3 and will be an error in 2.4:

`Type annotation class 'Nullable' of the inferred type is inaccessible. Check the module classpath for missing or conflicting dependencies. This will become an error in language version 2.4.`
Copy link
Collaborator

@fire-light42 fire-light42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not understand what exactly is wrong with the current code. Moreover, are you sure that .data is semantically equivalent to .html?

@Luna712
Copy link
Contributor Author

Luna712 commented Nov 11, 2025

I do not understand what exactly is wrong with the current code. Moreover, are you sure that .data is semantically equivalent to .html?

@fire-light42

According to docs in jsoup, data() is the correct usage to pull from a script tag. And its used elsewhere here also. As for what is wrong, it just couldn't understand that selectFirst is nullable with the Nullable annotation in jsoup without it being explicit using data inline which, in my opinion is actually better anyway.

@Luna712
Copy link
Contributor Author

Luna712 commented Nov 11, 2025

@fire-light42 fire-light42 merged commit a7e8b1b into recloudstream:master Nov 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants