Skip to content
Open
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Openlib

An Open source app to download and read books from shadow library ([Anna’s Archive](https://annas-archive.org/))
An Open source app to download and read books from shadow library ([Anna’s 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/)
[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-e63946.svg?style=for-the-badge)](https://opensource.org/licenses/)
Expand Down Expand Up @@ -43,9 +43,9 @@ An Open source app to download and read books from shadow library ([Anna’s Arc

## Description 📖

Openlib Is An Open Source App To Download And Read Books From Shadow Library ([Anna’s 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 ([Anna’s Archive](https://annas-archive.se/)). The App Has Built In Reader to Read Books

As [Anna’s Archive](https://annas-archive.org/) Doesn't Have An API. The App Works By Sending Request To Anna’s Archive And Parses The Response To objects. The App Extracts The Mirrors From Response And Downloads The Book
As [Anna’s Archive](https://annas-archive.se/) Doesn't Have An API. The App Works By Sending Request To Anna’s Archive And Parses The Response To objects. The App Extracts The Mirrors From Response And Downloads The Book

## Features ✨

Expand Down Expand Up @@ -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.

[Donate To Anna’s Archive.](https://annas-archive.org/donate?tier=1)
[Donate To Anna’s Archive.](https://annas-archive.se/donate?tier=1)

## License 📜

Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
<domain includeSubdomains="true">127.0.0.1</domain>
</domain-config>
<domain-config cleartextTrafficPermitted="false">
<domain includeSubdomains="true">annas-archive.org</domain>
<domain includeSubdomains="true">annas-archive.se</domain>
</domain-config>
</network-security-config>
2 changes: 1 addition & 1 deletion fastlane/metadata/android/en-US/full_description.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<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'>Anna’s 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'>Anna’s Archive</a>). The App Has Built In Reader to Read Books.
</p>
<p>
As <i>Anna’s Archive</i> doesn't have an API, the app works by sending requests to <i>Anna’s 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/services/annas_archieve.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class BookInfoData extends BookData {
// ====================================================================

class AnnasArchieve {
static const String baseUrl = "https://annas-archive.org";
static const String baseUrl = "https://annas-archive.se";

final Dio dio = Dio();

Expand Down
2 changes: 1 addition & 1 deletion lib/services/download_file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ List<String> _reorderMirrors(List<String> mirrors) {
if (element.contains('ipfs') == true) {
ipfsMirrors.add(element);
} else {
if (element.startsWith('https://annas-archive.org') != true &&
if (element.startsWith('https://annas-archive.se') != true &&
element.startsWith('https://1lib.sk') != true) {
httpsMirrors.add(element);
}
Expand Down