Skip to content

Commit 651769a

Browse files
update: move sabr files into a folder
better organization for us :p
1 parent 09629c3 commit 651769a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/sources/youtube/YouTube.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import WebEmbedded from './clients/WebEmbedded.js'
1212
import WebRemix from './clients/Web_Remix.js'
1313
import { checkURLType, YOUTUBE_CONSTANTS } from './common.js'
1414
import OAuth from './OAuth.js'
15-
import { SabrStream } from './sabr.js'
15+
import { SabrStream } from './sabr/sabr.js'
1616

1717
import YouTubeLiveChat from './LiveChat.js'
1818

@@ -692,7 +692,7 @@ export default class YouTubeSource {
692692
return cached
693693
}
694694
}
695-
695+
696696
let clientList = [...this.config.clients.playback]
697697
clientList = ['Web', ...clientList.filter(c => c !== 'Web') || 'Android']
698698
const clientErrors = []

src/sources/youtube/clients/Web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
checkURLType,
66
YOUTUBE_CONSTANTS
77
} from '../common.js'
8-
import { poTokenManager } from '../potoke.js'
8+
import { poTokenManager } from '../sabr/potoke.js'
99

1010
export default class Web extends BaseClient {
1111
constructor(nodelink, oauth) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Buffer } from 'node:buffer';
22
import { base64ToU8 } from './protor.js';
33
import { appendFile } from 'node:fs/promises';
44
import path from 'node:path';
5-
import { logger } from '../../utils.js';
5+
import { logger } from '../../../utils.js';
66
import { JSDOM } from 'jsdom';
77

88
const TOKENS_LOG_PATH = path.join(process.cwd(), 'po_tokens.jsonl');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Buffer } from 'node:buffer';
33
import path from 'node:path';
44
import { appendFile } from 'node:fs/promises';
55
import { createHash } from 'node:crypto';
6-
import { logger } from '../../utils.js';
6+
import { logger } from '../../../utils.js';
77
import { poTokenManager } from './potoke.js';
88
import {
99
UMPPartId,

0 commit comments

Comments
 (0)