Skip to content

Commit

Permalink
fix(myreadingmanga): source not working on ipad (#755)
Browse files Browse the repository at this point in the history
* chore: bump version

* build: update dependencies

* fix: update user agent
  • Loading branch information
aphronyx authored Sep 16, 2024
1 parent d5db760 commit 5a6905a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
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

0 comments on commit 5a6905a

Please sign in to comment.