Update lib/twitter/twitter.js
Browse files- lib/twitter/twitter.js +1 -1
lib/twitter/twitter.js
CHANGED
@@ -5,7 +5,7 @@ import { DEFAULT_HEADERS } from '../constant.js';
|
|
5 |
import { stringifyCookies, generateTokenId } from './util.js';
|
6 |
|
7 |
|
8 |
-
export
|
9 |
TwitterDlArgsSchema.parse([url]);
|
10 |
|
11 |
const idMatch = url.match(/status\/(\d+)/) || url.match(/(\d+)/);
|
|
|
5 |
import { stringifyCookies, generateTokenId } from './util.js';
|
6 |
|
7 |
|
8 |
+
export async function twitterdl(url) {
|
9 |
TwitterDlArgsSchema.parse([url]);
|
10 |
|
11 |
const idMatch = url.match(/status\/(\d+)/) || url.match(/(\d+)/);
|