ntscraper icon indicating copy to clipboard operation
ntscraper copied to clipboard

Issue with Exclude paramater

Open dombrugi opened this issue 1 year ago • 1 comments

Hi! Somewhat new to ntscraper. Tried to add the " exclude='replies' " parameter to my code and it threw the following error:

ValueError: Invalid exclusion filter 'r'. Valid filters are: nativeretweets, media, videos, news, verified, native_video, replies, links, images, safe, quote, pro_video

Is this a formatting error on my end, or something others have encountered as well? Either way, some help would be much appreciated!

dombrugi avatar Feb 13 '24 00:02 dombrugi

Hi, you are getting that error because the 'exclude' parameter requires a list. To make it work, simply transform exclude='replies' in exclude=['replies'].

bocchilorenzo avatar Feb 15 '24 18:02 bocchilorenzo