Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/api/parser/ap_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,14 @@ class WebApParser {
4 : Not found error message
500 : server busy
*/
String rawHtml;
String? rawHtml;
if (html is Uint8List) {
rawHtml = clearTransEncoding(html);
} else if (html is String) {
}
if (html is String) {
rawHtml = html;
}
if (rawHtml != null) {
if (rawHtml.contains('onclick="go_change()')) {
return 4;
}
Expand Down
Loading