Skip to content

Commit

Permalink
abema.tv対応
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Jul 5, 2024
1 parent d191e4f commit 0d82bbd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion built/client.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const browserUA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36";
export declare const browserUA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36";
2 changes: 1 addition & 1 deletion built/client.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.browserUA = void 0;
exports.browserUA = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36';
exports.browserUA = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36';
1 change: 1 addition & 0 deletions built/utils/got.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const MAX_RESPONSE_SIZE = 10 * 1024 * 1024;
const BOT_UA = `Summalybot/1.0`;
const NOT_BOT_UA = [
'www.sankei.com',
'abema.tv',
];
const LOG_CONSOLE = !!process.env.SUMMALY_LOG_CONSOLE;
function scpaping(url, opts) {
Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const browserUA = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36';
export const browserUA = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36';
1 change: 1 addition & 0 deletions src/utils/got.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const BOT_UA = `Summalybot/1.0`;

const NOT_BOT_UA = [
'www.sankei.com',
'abema.tv',
];

const LOG_CONSOLE = !!process.env.SUMMALY_LOG_CONSOLE;
Expand Down

0 comments on commit 0d82bbd

Please sign in to comment.