Skip to content

Commit

Permalink
Fix fetchNewVideos not using blogPostsIterable and only returning 20 …
Browse files Browse the repository at this point in the history
…videos
  • Loading branch information
Inrixia committed May 1, 2024
1 parent 8e8e6e2 commit 069f359
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autoTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ${{ matrix.runs-on }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "floatplane-plex-downloader",
"version": "5.13.2",
"version": "5.14.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default class Subscription {
if (settings.floatplane.videosToSearch === 0) return;
let videosSearched = 0;
console.log(chalk`Searching for new videos in {yellow ${this.plan}}`);
for await (const blogPost of await fApi.creator.blogPosts(this.creatorId)) {
for await (const blogPost of fApi.creator.blogPostsIterable(this.creatorId)) {
for await (const video of this.matchChannel(blogPost)) {
yield video;
}
Expand Down

0 comments on commit 069f359

Please sign in to comment.