-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for getting <LIMIT> num of issues from backlog
- Loading branch information
Showing
3 changed files
with
103 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"credentials": | ||
{ | ||
"site": "", # URL of reader webpage | ||
"cdn": "", # Optional, some sites may use other CDN than https://mediacdn.prenly.com, look in dev tools network for webp/pdf requests to a CDN | ||
"textalk-auth": "YOUR OWN", # Look in api/v2/ request header (X-Textalk-Content-Client-Authorize), seems to be persistent | ||
"auth": "YOUR OWN" # Look in Storage/Local Storage/prenlyreadersessiontoken or headers of request to api/v2/, remove "Bearer ", seems to be persistent | ||
}, | ||
"publication": | ||
{ | ||
"title": 4019, # ID of a paper | ||
"limit": 10 # Limit of backlog issues from newest to get | ||
}, | ||
"prefix": "Newspaper - " # String to prefix files with | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
{ | ||
"credentials": | ||
{ | ||
"site": "", # URL of reader webpage | ||
"cdn": "", # Optional, some sites may use other CDN than https://mediacdn.prenly.com, look in dev tools network for webp/pdf requests to a CDN | ||
"textalk-auth": "YOUR OWN", # Look in api/v2/ request header (X-Textalk-Content-Client-Authorize), seems to be persistent | ||
"auth": "YOUR OWN", # Look in Storage/Local Storage/prenlyreadersessiontoken or headers of request to api/v2/, remove "Bearer ", seems to be persistent | ||
"auth": "YOUR OWN" # Look in Storage/Local Storage/prenlyreadersessiontoken or headers of request to api/v2/, remove "Bearer ", seems to be persistent | ||
}, | ||
"issue": | ||
"publication": | ||
{ | ||
"title": 4019, # ID of a paper | ||
"uids": [ # UIDs of issues to download from paper, look in request to /api/v2 for issue_uid | ||
"517313", | ||
"490377" | ||
], | ||
"site": "", # URL of reader webpage | ||
"cdn": "" # Some sites may use other CDN than https://mediacdn.prenly.com, look in dev tools network for webp/pdf requests to a CDN | ||
} | ||
] | ||
}, | ||
"prefix": "Newspaper - " # String to prefix files with | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters