mattwright324 / youtube-comment-suite

Download YouTube comments from numerous videos, playlists, and channels for archiving, general search, and showing activity.
MIT License
275 stars 46 forks source link

Export results dumps everything #97

Closed ElonMusked closed 2 years ago

ElonMusked commented 2 years ago

Hi,

So I only wanted to dump around 50 comments out of 1,000 but your program keeps dumping all of them. This is exactly what I did (steps to reproduce):

Opened your program, went to Search Comments tab, on Type chose Comments Only, on Order By chose Most Likes and hit the Search button. It showed all of 1,000 comments. Then I clicked on first shown comment and shift clicked on 50th item to select all of them. So now 50 items are selected, right clicked and chose Manage Tags, then typed "out" in the box and clicked on Add to selected. Now 50 items have tag of out. Clicked on finish, and then on right side, clicked on "Clear Results", and on Has Tag(s) box, entered out so that only those 50 comments can be displayed. Then clicked on Search, took a few seconds and program showed exactly 50 comments. Then I clicked on Export Results and chose JSON on Export format and clicked on Export.

But now when I check the exported file, I still see all those 1,000 comments. Is it a bug or am I doing something wrong?

YouTube Comment Suite

mattwright324 commented 2 years ago

Hi @ElonMusked

This does appear to be a bug, thanks! The tag(s) filter is not carrying over in the export query. Everything else in the search filters should work with export though. This is an easy fix.

mattwright324 commented 2 years ago

This has been fixed in commit 40116f07bea47933245c194678cb192cefd92bff and will be out in the next release.

ElonMusked commented 2 years ago

Thanks a lot