File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ static Api()
1616 const int ACTIVATION_BLOB_SZ = 0x238 ;
1717 public async Task < string > GetActivationBytesAsync ( )
1818 {
19- // note: this call uses the audible login uri, NOT api
20- var client = Sharer . GetSharedHttpClient ( Locale . AudibleLoginUri ( ) ) ;
19+ // notes: this call uses the audible login uri, NOT api.
20+ // This should always be .com, not localized.
21+ var client = Sharer . GetSharedHttpClient ( new Uri ( "https://www.audible.com" ) ) ;
2122
22- var response = await AdHocAuthenticatedGetAsync ( $ "/license/token?action=register&player_manuf=Audible,Android&player_model=Android", client ) ;
23+ var response = await AdHocAuthenticatedGetAsync ( $ "/license/token?action=register&player_manuf=Audible,Android&player_model=Android", client ) ;
2324
2425 var deviceLicense = await response . Content . ReadAsByteArrayAsync ( ) ;
2526
You can’t perform that action at this time.
0 commit comments