From 030e843801e1478c54c770ed55fd2a0e9cec5221 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 16 Jan 2021 14:45:05 +0100 Subject: [PATCH 1/2] Update of Trending Scraper module --- package-lock.json | 27 +++++++++++++++++++++------ package.json | 2 +- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 608c6978..1f13c28c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9464,7 +9464,7 @@ }, "humanize-plus": { "version": "1.8.2", - "resolved": "http://registry.npmjs.org/humanize-plus/-/humanize-plus-1.8.2.tgz", + "resolved": "https://registry.npmjs.org/humanize-plus/-/humanize-plus-1.8.2.tgz", "integrity": "sha1-pls0RZrWNnrbs3B6gqPJ+RYWcDA=", "dev": true }, @@ -14816,7 +14816,7 @@ }, "safe-regex": { "version": "1.1.0", - "resolved": "http://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", "dev": true, "requires": { @@ -19242,11 +19242,26 @@ } }, "yt-trending-scraper": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/yt-trending-scraper/-/yt-trending-scraper-1.0.4.tgz", - "integrity": "sha512-RWNHDP0Gx1cKBGy0229jG8XzunsGXF4ZPG1gOtbFF54oF+smahCeWmsuYlmzr+5MwTWzq2s968spTGVgpkNjTA==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/yt-trending-scraper/-/yt-trending-scraper-1.0.7.tgz", + "integrity": "sha512-X8Ur9glylaOIOxf7o/IrKo+OKTPNW7e1q2x+Kpq3QxvtQHeI3IaavI7LZ3RwWjruJzUkdLcvR+FwDjFs0PITzw==", "requires": { - "axios": "^0.19.2" + "axios": "^0.21.1" + }, + "dependencies": { + "axios": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", + "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "requires": { + "follow-redirects": "^1.10.0" + } + }, + "follow-redirects": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.1.tgz", + "integrity": "sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg==" + } } }, "yt-xml2vtt": { diff --git a/package.json b/package.json index 16303430..3af81f55 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "yt-channel-info": "^1.2.0", "yt-comment-scraper": "^1.3.11", "yt-dash-manifest-generator": "^1.1.0", - "yt-trending-scraper": "1.0.4", + "yt-trending-scraper": "1.0.7", "yt-xml2vtt": "^1.2.0", "ytdl-core": "^4.4.3", "ytpl": "^2.0.4", From 1d6e9e979ad4899013bfafda3984b479b5cf7208 Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 17 Jan 2021 12:39:40 +0100 Subject: [PATCH 2/2] Upstream fix for trending page --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1f13c28c..a12e9ff0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19242,9 +19242,9 @@ } }, "yt-trending-scraper": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/yt-trending-scraper/-/yt-trending-scraper-1.0.7.tgz", - "integrity": "sha512-X8Ur9glylaOIOxf7o/IrKo+OKTPNW7e1q2x+Kpq3QxvtQHeI3IaavI7LZ3RwWjruJzUkdLcvR+FwDjFs0PITzw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/yt-trending-scraper/-/yt-trending-scraper-1.1.0.tgz", + "integrity": "sha512-9QCSbzKFMTHyvj9y8oRnRZcLH9aVK/8GcPWSAiayfOfswXDnLZYONqavy/04kz/nXZfZQeuIGMsxCW2RxokWlQ==", "requires": { "axios": "^0.21.1" }, diff --git a/package.json b/package.json index 3af81f55..7a12076b 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "yt-channel-info": "^1.2.0", "yt-comment-scraper": "^1.3.11", "yt-dash-manifest-generator": "^1.1.0", - "yt-trending-scraper": "1.0.7", + "yt-trending-scraper": "1.1.0", "yt-xml2vtt": "^1.2.0", "ytdl-core": "^4.4.3", "ytpl": "^2.0.4",