0
0
mirror of https://github.com/Maks1mS/free-ozon-dpr.git synced 2024-12-24 19:04:44 +03:00

Compare commits

..

No commits in common. "b6043843e4c528be73ff401f5dbfbdbd5eeae25e" and "fadb204413aa630bfb701458d512e7ebdee3c395" have entirely different histories.

5 changed files with 1031 additions and 1223 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@ import {
async function main() {
await woyag();
// await sevenDostavka();
// - await sevenDostavka();
await ozonWbDpr();
await globalExpress();
}

View File

@ -181,7 +181,7 @@ async function globalExpress() {
source: MAIN_URL,
points: points.map((p) => ({
...p,
operationTime: `<a href="https://vk.com/global_express_dnr?w=address-124759560_72654">ГРАФИК РАБОТЫ</a>`,
operationTime: `<a href="https://vk.com/aliexpress___delivery?w=address-124759560_72654">ГРАФИК РАБОТЫ</a>`,
})),
},
undefined,

View File

@ -84,7 +84,7 @@ async function getFromSite() {
for (let script of scripts) {
if (script.textContent.includes('descr: "Бесплатный озон')) {
let x = script.textContent.split("[{").pop().split("},]")[0];
let x = script.textContent.split("[\n{\n").pop().split("\n},\n]")[0];
if (x) {
const points = new Function(`return [{${x}}]`)();