Update lib/yt.js
Browse files
lib/yt.js
CHANGED
|
@@ -131,7 +131,7 @@ async function twitter(url) {
|
|
| 131 |
}
|
| 132 |
|
| 133 |
const html = response.data.data;
|
| 134 |
-
const $ = cheerio
|
| 135 |
let results = [];
|
| 136 |
$(".dl-action a").each((_, el) => {
|
| 137 |
const type = $(el).text().trim();
|
|
|
|
| 131 |
}
|
| 132 |
|
| 133 |
const html = response.data.data;
|
| 134 |
+
const $ = cheerio?.load(html);
|
| 135 |
let results = [];
|
| 136 |
$(".dl-action a").each((_, el) => {
|
| 137 |
const type = $(el).text().trim();
|