better method of detemining if a source is Nsfw

This commit is contained in:
Aria Moradi
2021-08-24 02:44:13 +04:30
parent ff4e818e4c
commit 9c007483d4
5 changed files with 46 additions and 28 deletions

View File

@@ -137,7 +137,7 @@ object PackageTools {
}
/**
* loads the extension main class called $className from the jar located at $jarPath
* loads the extension main class called [className] from the jar located at [jarPath]
* It may return an instance of HttpSource or SourceFactory depending on the extension.
*/
fun loadExtensionSources(jarPath: String, className: String): Any {