Fixed Stuck on Solve Captcha Screen

This commit is contained in:
dstark5
2024-09-28 13:10:48 +05:30
parent 6be9927b26
commit a7ca206b10
4 changed files with 4 additions and 6 deletions

View File

@ -219,8 +219,7 @@ class AnnasArchieve {
'info':
main?.querySelector('div[class="text-sm text-gray-500"]')?.text ?? '',
'description': main
?.querySelector(
'div[class="mt-4 line-clamp-[8] js-md5-top-box-description"]')
?.querySelector('div[class="mb-1"]')
?.text
.replaceFirst("description", '') ??
" "

View File

@ -47,7 +47,7 @@ class AboutPage extends StatelessWidget {
Padding(
padding: EdgeInsets.only(left: 7, right: 7, top: 5),
child: Text(
"1.0.7",
"1.0.8",
style: TextStyle(
fontSize: 15,
fontWeight: FontWeight.bold,

View File

@ -52,7 +52,7 @@ class _WebviewState extends ConsumerState<Webview> {
onLoadStart: (controller, url) {},
onLoadStop: (controller, url) async {
String query =
"""document.querySelector('a[class="font-bold"]').href""";
"""var paragraphTag=document.querySelector('p[class="mb-4 text-xl font-bold"]');var anchorTagHref=paragraphTag.querySelector('a').href;var url=()=>{return anchorTagHref};url();""";
String? mirrorLink = await webViewController
?.evaluateJavascript(source: query);
// final ipfsUrl = widget.url
@ -62,7 +62,6 @@ class _WebviewState extends ConsumerState<Webview> {
// await webViewController?.loadUrl(
// urlRequest: URLRequest(
// url: WebUri('https://example.com/new-page')));
if (mirrorLink != null) {
Future.delayed(const Duration(milliseconds: 70), () {
// ignore: use_build_context_synchronously

View File

@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.7+10
version: 1.0.8+11
environment:
sdk: ">=3.3.0 <4.0.0"