mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-02 20:30:10 +00:00
Merge pull request #201 from xFlawless11x/fix/prowlarr-user-agent
Add User-Agent header to Prowlarr RSS queries
This commit is contained in:
@@ -315,6 +315,9 @@ export class ProwlarrService {
|
|||||||
limit: 100,
|
limit: 100,
|
||||||
extended: 1,
|
extended: 1,
|
||||||
},
|
},
|
||||||
|
headers: {
|
||||||
|
'User-Agent': 'ReadMeABook',
|
||||||
|
},
|
||||||
timeout: DOWNLOAD_CLIENT_TIMEOUT,
|
timeout: DOWNLOAD_CLIENT_TIMEOUT,
|
||||||
responseType: 'text', // Get XML as text
|
responseType: 'text', // Get XML as text
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user