Compare commits
2 Commits
7cf47cbf8d
...
27a9a233e2
Author | SHA1 | Date |
---|---|---|
|
27a9a233e2 | |
|
22864105ac |
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.205.14",
|
||||
"version": "1.205.15",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "traxxx",
|
||||
"version": "1.205.14",
|
||||
"version": "1.205.15",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@casl/ability": "^5.2.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.205.14",
|
||||
"version": "1.205.15",
|
||||
"description": "All the latest porn releases in one place",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -846,6 +846,7 @@ async function associateReleaseMedia(releases, type = 'release') {
|
|||
}
|
||||
} catch (error) {
|
||||
console.log(associations);
|
||||
await fs.promises.writeFile(`./associations-${Date.now()}`, JSON.stringify(associations, null, 4));
|
||||
throw error;
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
|
@ -489,7 +489,7 @@ async function scrapeMovie({ query, el }, url, entity, baseRelease, options) {
|
|||
|
||||
const { dataLayer } = query.exec('//script[contains(text(), "dataLayer")]', ['dataLayer']);
|
||||
const rawData = dataLayer?.[0]?.dvdDetails;
|
||||
const data = rawData.dvdId && rawData; // dvdDetails is mostly empty in some cache states
|
||||
const data = rawData?.dvdId && rawData; // dvdDetails is mostly empty in some cache states
|
||||
|
||||
release.entryId = new URL(url).pathname.match(/\/(\d+)(\/|$)/)?.[1];
|
||||
|
||||
|
|
Loading…
Reference in New Issue