Is there a way to write a script that could compile a list of known advertisers on reddit, and then add those people to your block list?

I have created my own Reddit powershell module to automate different Reddit processes like ddelete my previous posts history, upvote a user and pipe my favourite subs in csv format... I could definitely use it to ban/block a group of users, for instances the ones that promotes shit. The problem is this: I can't use the Reddit API to ** get the list** of advertisers nor promoted content because it is added in the feed by local scripts and not from the Reddid data so it's not accessible by the Reddit API.

To get the list of advertisers, I guess we need to do 1) a regular WebRequest (not through the Reddit API) 2) and parse the HTML content to retrieve all promoted posts nad users 3) user the Reddit API, block those users

Number 3 is easy, number 1 and 2 needs to be done.

Note that in one WebRequests, the list of advertisers won't be complete, we only get a few adverts per refresh.

/r/PowerShell Thread