mirror of
https://github.com/dstark5/Openlib.git
synced 2025-05-20 07:56:25 +08:00
Fixed unable to download due to change in annas archive
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
|
||||
## Roadmap
|
||||
|
||||
- Additing More Book Format supports (cbz,cbr,azw3,etc...)
|
||||
- Adding More Book Format supports (cbz,cbr,azw3,etc...)
|
||||
- Adding Support For Background Downloads
|
||||
- Adding Support For Multiple Downloads
|
||||
|
||||
|
@ -154,8 +154,8 @@ class AnnasArchieve {
|
||||
|
||||
var document = parse(response.data.toString());
|
||||
|
||||
var pTag = document.querySelector('p[class="mb-4"]');
|
||||
String? link = pTag?.querySelector('a')?.attributes['href'];
|
||||
var pTag = document.querySelectorAll('p[class="mb-4"]');
|
||||
String? link = pTag[1].querySelector('a')?.attributes['href'];
|
||||
return link;
|
||||
} catch (e) {
|
||||
// print('${url} ${e}');
|
||||
|
Reference in New Issue
Block a user