Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(myreadingmanga): source not working on ipad #755

Merged
merged 3 commits into from
Sep 16, 2024
Merged
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ src/rust/node_modules

.idea
*.iml
.zed
8 changes: 4 additions & 4 deletions src/rust/multi.myreadingmanga/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/rust/multi.myreadingmanga/res/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "multi.myreadingmanga",
"lang": "multi",
"name": "MyReadingManga",
"version": 8,
"version": 9,
"url": "https://myreadingmanga.info",
"nsfw": 2
}
Expand Down
5 changes: 3 additions & 2 deletions src/rust/multi.myreadingmanga/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ enum Url<'a> {

const DOMAIN: &str = "https://myreadingmanga.info";

/// Safari on iOS 17.4
const USER_AGENT: &str = "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Mobile/15E148 Safari/604.1";
/// Chrome 128 on iOS 17.6
/// Apple iPhone
const USER_AGENT: &str = "Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/128.0.6613.98 Mobile/15E148 Safari/604.1";

/// Sort by: \[More relevant, Newest, Oldest, Random\]
const SORT: [&str; 4] = [
Expand Down
Loading