mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-17 15:16:43 +02:00
XAPK bugfixes, HTML default User-Agent
This commit is contained in:
@ -89,6 +89,13 @@ class HTML extends AppSource {
|
||||
overrideEligible = true;
|
||||
}
|
||||
|
||||
@override
|
||||
// TODO: implement requestHeaders choice, hardcoded for now
|
||||
Map<String, String>? get requestHeaders => {
|
||||
"User-Agent":
|
||||
"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0"
|
||||
};
|
||||
|
||||
@override
|
||||
String sourceSpecificStandardizeURL(String url) {
|
||||
return url;
|
||||
|
Reference in New Issue
Block a user