Compare commits
2 Commits
eafa144104
...
3983d3464f
Author | SHA1 | Date |
---|---|---|
|
3983d3464f | |
|
61daf5f037 |
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.203.2",
|
||||
"version": "1.203.3",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "traxxx",
|
||||
"version": "1.203.2",
|
||||
"version": "1.203.3",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@casl/ability": "^5.2.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.203.2",
|
||||
"version": "1.203.3",
|
||||
"description": "All the latest porn releases in one place",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -128,6 +128,10 @@ async function scrapeRelease(baseRelease, entitiesBySlug, type = 'scene') {
|
|||
|
||||
const pathname = new URL(baseRelease.url).pathname.replace(/\//g, '_');
|
||||
|
||||
if (windows.has(pathname)) {
|
||||
logger.debug(`Closing window for ${pathname}`);
|
||||
}
|
||||
|
||||
windows.get(pathname)?.close();
|
||||
windows.delete(pathname);
|
||||
|
||||
|
|
Loading…
Reference in New Issue