PowerShell v3 Script
$url = "http://goo.gl/aU1pB" $r = ((Invoke-WebRequest $url).AllElements | Where class -eq 'column-count column-count-3' | Select -First 1).innerText -Split "`r`n" | ForEach {[PSCustomObject]@{Name=$_}} $r | Format-Wide -Column 3 "Total {0}" -f $r.Count
Organizations that support the Stop Online Piracy Act include:
Currently, 128. Wikipedia keeps the list updated.
60 Plus Association ABC Alliance for Safe Online Pharmacies (ASOP)
American Bankers Association (ABA) American Federation of Musicians (AFM) American Federation of Television and Radio Artists ...
American Society of Composers, Authors and Publisher... Americans for Tax Reform Artists and Allied Crafts of the United States
Association of American Publishers (AAP) Association of State Criminal Investigative Agencies Association of Talent Agents (ATA)
Beachbody, LLC BMI BMG Chrysalis
Building and Construction Trades Department Capitol Records Nashville CBS
Cengage Learning Christian Music Trade Association Church Music Publishers’ Association
Coalition Against Online Video Piracy (CAOVP) Comcast/NBCUniversal Concerned Women for America (CWA)
Congressional Fire Services Institute Copyhype Copyright Alliance
Coty, Inc. Council of Better Business Bureaus (CBBB) Council of State Governments
Country Music Association Country Music Television Creative America
Deluxe Digital Studios Directors Guild of America (DGA) Disney Publishing Worldwide, Inc.
Elsevier EMI Christian Music Group EMI Music Publishing
Entertainment Software Association (ESA) ESPN Estée Lauder Companies
Foundation for Job Creation ( www.jobcreation.us) Fraternal Order of Police (FOP) Gospel Music Association
Graphic Artists Guild Hachette Book Group HarperCollins Publishers Worldwide, Inc.
Hyperion Books Independent Film & Television Alliance (IFTA) Information Technology and Innovation Foundation (IT...
International Alliance of Theatrical and Stage Emplo... International AntiCounterfeiting Coalition (IACC) International Brotherhood of Electrical Workers (IBEW)
International Brotherhood of Teamsters (IBT) International Trademark Association (INTA) International Union of Police Associations
L’Oreal Lost Highway Records Macmillan
Major County Sheriffs Major League Baseball Majority City Chiefs
Marvel Entertainment, LLC MasterCard Worldwide MCA Records
McGraw-Hill Education Mercury Nashville Minor League Baseball (MiLB)
Minority Media & Telecom Council (MMTC) Motion Picture Association of America (MPAA) [5] Moving Picture Technicians
MPA – The Association of Magazine Media National Association of Manufacturers (NAM) National Association of Prosecutor Coordinators
National Association of State Chief Information Offi... National Cable & Telecommunications Association (NCTA) National Center for Victims of Crime
National Criminal Justice Association National District Attorneys Association National Domestic Preparedness Coalition
National Football League National Governors Association, Economic Development... National League of Cities
National Narcotics Officers’ Associations’ Coalition National Sheriffs' Association (NSA) National Songwriters Association
National Troopers Coalition News Corporation Nike, Inc.
Pearson Education Penguin Group (USA), Inc. Pharmaceutical Research and Manufacturers of America...
Pfizer, Inc. Provident Music Group Random House
Raulet Property Partners Republic Nashville Revlon
Scholastic, Inc. Screen Actors Guild (SAG) Showdog Universal Music
Sony/ATV Music Publishing Sony Music Entertainment Sony Music Nashville
State International Development Organization (SIDO) The National Association of Theatre Owners (NATO) Perseus Books Group
United States Conference of Mayors Tiffany & Co. Time Warner
True Religion Brand Jeans UMG Publishing Group Nashville United States Chamber of Commerce
United States Olympic Committee United States Tennis Association Universal Music
Universal Music Publishing Group Viacom Visa Inc.
W.W. Norton & Company Wallace Bajjali Development Partners, L.P. Warner Music Group
Warner Music Nashville Wolters Kluwer Health Word Entertainment
World Wrestling Entertainment (WWE) Zumba Fitness, LLC





{ 3 comments… read them below or add one }
I tried to do this in Python, painful!
I got to the point where I needed to parse the DOM and look for style tags and gave up … This PowerShell snippit is way more succint and makes this kind of screen scraping a breeze. Too bad I have no PowerShell on the mac/linux
Did you try the minidom package? It’s part of the standard Python distribution.
Yes, it works, it’s just that I was unable to achieve the flow and elegance that your PoSH achieves.