updated dommain:from annas-archive.org to annas-archive.se (#170)

Co-authored-by: Matsu23 <matsu23@protonmail.com>
This commit is contained in:
MathsTTU
2026-01-18 08:37:37 -03:00
committed by GitHub
parent 5d6e8fb948
commit b3de2931da
5 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
# Openlib # Openlib
An Open source app to download and read books from shadow library ([Annas Archive](https://annas-archive.org/)) An Open source app to download and read books from shadow library ([Annas Archive](https://annas-archive.se/))
[![made-with-flutter](https://img.shields.io/badge/Made%20with-Flutter-4361ee.svg?style=for-the-badge)](https://flutter.dev/) [![made-with-flutter](https://img.shields.io/badge/Made%20with-Flutter-4361ee.svg?style=for-the-badge)](https://flutter.dev/)
[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-e63946.svg?style=for-the-badge)](https://opensource.org/licenses/) [![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-e63946.svg?style=for-the-badge)](https://opensource.org/licenses/)
@@ -43,9 +43,9 @@ An Open source app to download and read books from shadow library ([Annas Arc
## Description 📖 ## Description 📖
Openlib Is An Open Source App To Download And Read Books From Shadow Library ([Annas Archive](https://annas-archive.org/)). The App Has Built In Reader to Read Books Openlib Is An Open Source App To Download And Read Books From Shadow Library ([Annas Archive](https://annas-archive.se/)). The App Has Built In Reader to Read Books
As [Annas Archive](https://annas-archive.org/) Doesn't Have An API. The App Works By Sending Request To Annas Archive And Parses The Response To objects. The App Extracts The Mirrors From Response And Downloads The Book As [Annas Archive](https://annas-archive.se/) Doesn't Have An API. The App Works By Sending Request To Annas Archive And Parses The Response To objects. The App Extracts The Mirrors From Response And Downloads The Book
## Features ✨ ## Features ✨
@@ -111,7 +111,7 @@ Please report bugs via the [issue tracker](https://github.com/dstark5/Openlib/is
If you like Openlib, you're welcome to send a donation. If you like Openlib, you're welcome to send a donation.
[Donate To Annas Archive.](https://annas-archive.org/donate?tier=1) [Donate To Annas Archive.](https://annas-archive.se/donate?tier=1)
## License 📜 ## License 📜

View File

@@ -12,6 +12,6 @@
<domain includeSubdomains="true">127.0.0.1</domain> <domain includeSubdomains="true">127.0.0.1</domain>
</domain-config> </domain-config>
<domain-config cleartextTrafficPermitted="false"> <domain-config cleartextTrafficPermitted="false">
<domain includeSubdomains="true">annas-archive.org</domain> <domain includeSubdomains="true">annas-archive.se</domain>
</domain-config> </domain-config>
</network-security-config> </network-security-config>

View File

@@ -1,5 +1,5 @@
<p> <p>
<b><i>Openlib</i></b> is an open source app to download and read books from shadow library (<a href='https://annas-archive.org/' target='_blank' rel='nofollow noopener'>Annas Archive</a>). The App Has Built In Reader to Read Books. <b><i>Openlib</i></b> is an open source app to download and read books from shadow library (<a href='https://annas-archive.se/' target='_blank' rel='nofollow noopener'>Annas Archive</a>). The App Has Built In Reader to Read Books.
</p> </p>
<p> <p>
As <i>Annas Archive</i> doesn't have an API, the app works by sending requests to <i>Annas Archive</i> and parses the response to objects. The app extracts the mirrors from the responses, downloads the book and stores it in the application's document directory. As <i>Annas Archive</i> doesn't have an API, the app works by sending requests to <i>Annas Archive</i> and parses the response to objects. The app extracts the mirrors from the responses, downloads the book and stores it in the application's document directory.

View File

@@ -53,7 +53,7 @@ class BookInfoData extends BookData {
// ==================================================================== // ====================================================================
class AnnasArchieve { class AnnasArchieve {
static const String baseUrl = "https://annas-archive.org"; static const String baseUrl = "https://annas-archive.se";
final Dio dio = Dio(); final Dio dio = Dio();

View File

@@ -24,7 +24,7 @@ List<String> _reorderMirrors(List<String> mirrors) {
if (element.contains('ipfs') == true) { if (element.contains('ipfs') == true) {
ipfsMirrors.add(element); ipfsMirrors.add(element);
} else { } else {
if (element.startsWith('https://annas-archive.org') != true && if (element.startsWith('https://annas-archive.se') != true &&
element.startsWith('https://1lib.sk') != true) { element.startsWith('https://1lib.sk') != true) {
httpsMirrors.add(element); httpsMirrors.add(element);
} }