Skip to content

Instantly share code, notes, and snippets.

@rallias

rallias/readme.txt

Last active Aug 29, 2015
Embed
What would you like to do?
Lowendbox popular tags
I decided, on a whim, to look at what the popular tags on LowEndBox are. The result data is post-processed, partly because I fucked up with a newline escape, partly because it needed sorting, partly because I fucked up and forgot to output the data to a text file and didn't want to run the data again. The second file, scrapewatch.pl, is the code used. The third is the data.
#!/usr/bin/perl
use HTML::TreeBuilder;
use LWP::UserAgent;
use strict;
use warnings;
my $ua = LWP::UserAgent->new();
$ua->agent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0');
my %tagPopularity;
my $done;
my $currentpage = 1;
until ( $done ) {
my $root = HTML::TreeBuilder->new()->parse($ua->get('http://lowendbox.com/page/'.$currentpage.'/')->decoded_content);
my @metas = $root->look_down('class' => 'meta');
if ( scalar @metas == 0 ) {
$done = 1;
}
for my $meta (@metas) {
my @tags = $meta->look_down('_tag' => 'a', 'rel' => 'tag');
for my $tag (@tags) {
if ( $tagPopularity{$tag->attr('href')} ) {
$tagPopularity{$tag->attr('href')} += 1;
} else {
$tagPopularity{$tag->attr('href')} = 1;
}
}
}
$currentpage = $currentpage + 1;
sleep 5;
}
for my $key ( keys %tagPopularity ) {
print $key.' : '.$tagPopularity{$key}."\n";
}
619 openvz
191 kvm
184 exclusive
180 xen
171 los-angeles
146 dallas
132 uk
116 chicago
105 usa
86 buffalo
84 ssd
82 germany
81 phoenix
71 new-york
68 netherlands
51 scranton
49 yearly
49 texas
44 atlanta
43 maidenhead
43 kansas-city
41 france
39 california
30 new-jersey
29 florida
27 tutorials-2
26 seattle
26 orlando
25 san-jose
22 las-vegas
22 canada
21 jacksonville
20 ndedicated-server
20 chicagovps-net
18 switzerland
18 miami
17 frankfurt
16 arizona
14 italy
14 denver
13 vmware
13 hudsonvalleyhost-com
13 edis-at
13 buyvm-net
13 austria
13 amsterdam
12 san-diego
12 ramnode-com
12 ipv6
12 bluevm-com
11 storage
11 inceptionhosting-com
10 windows
10 prometeus-com
10 minivps-co-uk
10 christmas2013
10 bhost-net
10 australia
9 vswap
9 urpad-net
9 lovevps-com
9 lenoir
9 flipperhost-com
9 asia
8 toronto
8 top-providers
8 securedspeed-com
8 prometeus-net
8 north-carolina
8 getkvm-com
8 gbservers-co-uk
8 domvps-com
7 weloveservers-net
7 the-netherlands
7 sweden
7 singapore
7 simpleno-de
7 romania
7 quickweb-co-nz
7 paulvps-com
7 manchester
7 liquid-solutions-biz
7 kent
7 frontrangehosting-com
7 dusseldorf
7 cloudshards-com
6 vpscheap-net
6 vpsace-com
6 tampa
6 stormvz-com
6 ssdvps-com
6 ransomit-com-au
6 raidlogic-net
6 onapp
6 nodedeploy-com
6 necs-co-uk
6 milan
6 lithuania
6 hosthatch-com
6 easevps-com
6 ddos
6 corgitech-com
6 cheapvps-co-uk
6 catalysthost-com
6 123systems-net
5 xfusesolutions-com
5 vpsslim-com
5 vmport-com
5 supremebytes-com
5 ssd-cached
5 servermania-com
5 semoweb-com
5 securedragon-net
5 review
5 qualityservers-co-uk
5 openvirtuals-com
5 myrsk-com
5 letbox-com
5 ipxcore-com
5 iniz-com
5 india
5 illinois
5 hostmist-com
5 hostinginside-com
5 hostigation-com
5 freebsd
5 fraphost-com
5 fliphost-net
5 expertvm-com
5 dotvps-co
5 crowncloud-net
5 chvps-com
5 blackfriday2013
5 basshost-com
5 armorshark-com
4 zurich
4 xen-pv
4 vpsdeploy-com
4 up2vps-com
4 sshvm-com
4 spotvps-com
4 spain
4\ rotterdam
4 reversehosts-com
4 pzea-com
4 poundhost-com
4 philadelphia
4 nqhost-com
4 nevada
4 mountspot-com
4 montreal
4 moldova
4 magoro-com
4 lolihosting-com
4 lfcvps-com
4 kazila-com
4 iceland
4 georgia
4 fusioned-net
4 fremont
4 filemedia-de
4 fibervolt-com
4 evolucix-com
4 enetsouth-com
4 dot-al
4 dedicated
4 czech-republic
4 crissic-net
4 colorado
4 burst-net
4 buffalovps-com
4 backupsy-com
4 asheville
4 ashburn
4 alienvps-com
4 adelaide
4 123com-org
3 yourvz-com
3 yourdomaingoeshere-com
3 yardvps-com
3 whitelabelhosting-org
3 washington
3 vserver
3 vpsvibe-com
3 vpsnodes-com
3 vpsdime
3 vmlit-com
3 virpus-com
3 virginia
3 velocihost-net
3 utah
3 urgentvps-com
3 uptimevps-com
3 turkey
3 thriftyvps-com
3 ssdvirt-com
3 silverknighttech-com
3 serverhub-com
3 servercrate-com
3 rootnerds-com
3 rethinkvps-com
3 reliablehostingservices-net
3 quickpacket-com
3 quarterly
3 provisionhost-com
3 poland
3 pennsylvania
3 openvvz
3 onepoundwebhosting-co-uk
3 nodepop-com
3 ninjahawk-net
3 neosurge-com
3 monthly
3 maryland
3 luxembourg
3 london
3 linux-vserver
3 kansas
3 jollyworkshosting-com
3 iperweb-com
3 indiana
3 httpzoom-com
3 hosthink-net
3 govpsgo-com
3 evorack-com
3 dmbhosting-co-uk
3 cripperz-sg
3 coventry
3 cosmosteck-com
3 competition
3 cheapdomainnamesdot-com
3 castlegem-co-uk
3 bitaccel-com
3 binarycpu-com
3 bigscoots-com
3 baltimore
3 azzavps-com
3 audefy-com
3 amerinoc-com
3 alblasserdam
3 aim2game-com
3 5ite-com
3 2host-com
2 zazoomvps-com
2 yottabytenetworks-net
2 xenvz-co-uk
2 whynotavps-com
2 vps-world-eu
2 vpsnodebox-com
2 vpsnine-com
2 vpscorner-co-uk
2 vpscheap-info
2 vpsbd-net
2 vooservers-com
2 volt-vps-com
2 vmstormvps-com
2 vmhosts-co-uk
2 virtuozzo
2 virt-io
2 vienna
2 versatileit-com-au
2 us
2 united-kingdom
2 troy
2 tmzvps-com
2 tailoredvps-com
2 sysadmin-co-uk
2 sydney
2 stockholm
2 state-college
2 ssdnodes-com
2 southfield
2 south-africa
2 skdedicated-com
2 sisvps-com
2 shovehost-com
2 shardhost-com
2 serverdragon-com
2 servarica-com
2 russia
2 rhinorack-net
2 regolithmedia-com
2 rage4-com
2 qhoster-com
2 qenox-com
2 pyramidserver-com
2 picastaway
2 panama
2 openvz-ca
2 openitc-co-uk
2 oneasiahost-com
2 ocitysolutions-com
2 ny
2 nixhost-co-uk
2 nixdot-com
2 new-york-city
2 networxlab-com
2 netorigin-com-au
2 meteorvps-com
2 lvpshosting-com
2 luna-node
2 lovevps
2 loomhosts-com
2 liquid-host-com
2 leetnet-net
2 leaseweb-com
2 layeredlink-com
2 lasvegas
2 kiloserve-com
2 kazetech-com
2 just295-com
2 j-solutions-org
2 joesdatacenter-com
2 istanbul
2 iptables
2 infinityhosts-com
2 hyper-v
2 hungary
2 houston
2 hostvps-net
2 host1plus-com
2 hetzner
2 hampshire
2 grwh-net
2 ginernet-com
2 ghesi-com
2 getmyvps-com
2 gamedatainc
2 fusevps-com
2 ftpit-com
2 flvps-net
2 fluidrhino-com
2 fiberhead-com
2 fastvps-co
2 estonia
2 electricbyte
2 dotvps-net
2 detroit
2 deluxe-host-com
2 cortexnetworks-com
2 comfortvps-com
2 columbus
2 colo-serv-net
2 colorado-springs
2 chisinau
2 bytebistro-com
2 budgetvm-com
2 budapest
2 breathost-com
2 brazil
2 birmingham
2 belgium
2 beauharnois
2 bandwagonhost-com
2 backups
2 backup
2 atlanda
2 anynode-net
2 annual
2 android
2 alvotech-de
2 allsimple-net
2 2gbvps-com
2 24khost-com
1 zs1-org
1 zoomvps-com
1 zlin
1 zipvps-com
1 zeneva-net
1 yisp-com
1 yesuphost-com
1 xensmart-co-uk
1 xen-hvm
1 wireworkscommunications-com
1 willhosting-com
1 whmcs
1 whitelabelhosting-co
1 west-coast
1 webline-services-com
1 web24-com-au
1 waveride-at
1 w2servers-com
1 vultr-com
1 vpsvillage-com
1 vps-us
1 vpsone-net
1 vpslix-com
1 vpsfx-com
1 vpsfusion-com
1 vpsdeals-org
1 vpsdc-com
1 vpsdatabase-com
1 vps-co-za
1 vpsbb-com
1 vpsace
1 vps
1 vortex-vps-com
1 vmbox-co
1 virtuzzo
1 virtupulse-com
1 virtualsrv-com
1 virtovo-com
1 virexpert-com
1 vhostlayer-com
1 versaweb-com
1 vds6-net
1 vazapi-com
1 vancouver
1 unmetered
1 unmanagedservers-net
1 ukdirecthost-co-uk
1 ugvps-com
1 tropichost-com
1 tragicservers-com
1 tortois-es
1 torqhost-com
1 tokyo
1 tinyvz-com
1 tinyvps-ca
1 tinykvm-com
1 tildehost-com
1 theukcloud-com
1 thehosthouse-co-uk
1 tempe
1 tallinn
1 tacticalvps-net
1 swiftvm-com
1 swarmhost-net
1 surmounted-net
1 superbytes-net
1 stylexnetworks-com
1 st-louis
1 stablebox-com
1 spinningtops
1 speedmax-net
1 spanish
1 spam
1 south-bend
1 sonicvps-com
1 slickwebhost-com
1 simplydigitalhosting-com
1 simplexwebs-com
1 simplerack-net
1 siauliai
1 shifttothecloud-com
1 serverleased-com
1 serverastra-com
1 server305-com
1 servarica
1 seflow-it
1 security
1 sao-paulo
1 salt-lake-city
1 rubyringtech-com
1 roubaix
1 rock-hill
1 roberthost-com
1 rizie-com
1 renton
1 reading
1 raspberry-pi
1 raptornode-com
1 rapidovps-com
1 ramhost-us
1 raidlogic
1 rackvps-net
1 rackmountain-com
1 rackd-net
1 rackburst-net
1 rackburst
1 quin5-com
1 quickweb
1 providerservice-com
1 privatelayer-com
1 primahost-info
1 prestonhost-com
1 premiumvm-com
1 prefiber-nl
1 portland
1 pluggr
1 plano
1 piscataway
1 pingvps-com
1 phoneix
1 phoenixvps-com
1 perth
1 perdhanahost-net
1 paris
1 overzold-com
1 overclocked-com
1 oregon
1 orbitservers-com
1 openvx
1 oostkamp
1 onedollarvps-com
1 ohio
1 odishahosting-com
1 nyc
1 nukevps-com-kp
1 nozhost-com
1 nottingham
1 north-korea
1 nordicvps-com
1 nodeserv
1 nixcom-ca
1 newyork
1 newyear2014
1 newwebsite-com
1 new-jeysey
1 newcastle
1 new
1 netherland
1 nerdyvps-com
1 neon
1 nbvps-net
1 nanuet
1 naaldwijk
1 myresellerhost-info
1 munich
1 mrnerd-com
1 motionite-com
1 moscow
1 mohawk
1 missouri
1 minecrafted-net
1 mikrovps-com
1 michigan
1 melbourne
1 maidstone
1 mach9servers-com
1 lusovps-com
1 lowendtalk
1 lowendguide-com
1 lowendbox-com
1 los-angles
1 lombard
1 logicidea-com
1 limestonenetworks-com
1 leapswitch-com
1 lausanne
1 kwdservices-com
1 kvm-winity-io
1 kvm-shell
1 kvmport-com
1 koddos-com
1 knownsrv-com
1 kisaravps-com
1 kimsufi-com
1 kickstarter
1 johannesburg
1 jena
1 jaystorage-com
1 japan
1 ixamhosting-com
1 iwstack-com
1 itsjusthosting-com
1 isle-of-man
1 ireland
1 irc-offer
1 ip-projects-de
1 ipap-co
1 internoc24-net
1 inodehub-com
1 infinitie-net
1 icloudhosting-com
1 icelandvps-com
1 iamhostingat-com
1 hydravps-com
1 hwshosting-net
1 hvm
1 hukot
1 hub-org
1 hostus-us
1 hostrazor-net
1 hostrail-com
1 hostmonkey-net
1 hostitek-com
1 hostirian-com
1 hostingsrv-co-uk
1 hostingbix-com
1 hosting022-com
1 hostfolks-com
1 hostdog-gr
1 hostd8-com
1 host90-com
1 helpdesk-lowendbox-com
1 hampsire
1 hacked
1 haarlem
1 gravelines
1 goweb-de
1 gothost-net
1 gotekky-com
1 gnzhost-com
1 gidux-com
1 generation-host-com
1 fuzzyhosts-com
1 fusa-be
1 ftnhosting-net
1 fstservers-com
1 fragready
1 fragnet-net
1 firstlinehosts-com
1 fiberfirefly-com
1 fehosting-com
1 feathur
1 fallas
1 falkenstein
1 exclusive-nodejungle-com
1 europe
1 errantweb-com
1 enterprisevpssolutions-com
1 enscloud-com
1 elicitservers-ca
1 eleven2-com
1 egypt
1 edgevps-com
1 edgevm-com
1 ecvps-com
1 eclusive
1 e-clicking-com
1 easyvds-net
1 duffield
1 dronten
1 domcrib-com
1 dmca
1 directspace-net
1 digitalocean-com
1 dialaserver-co-uk
1 dewlance-com
1 dedisrv-eu
1 dedicated-minds
1 dashinghost-com
1 cybexhosting-net
1 cvm-cryto-net
1 curvehost-com
1 curlhost-com
1 cubixcloud-com
1 craftyourbox-com
1 cpanelhost-me
1 costa-rica
1 commercialmedia-com
1 cloud3k-com
1 cloud
1 citynethost-com
1 citrixxenvps-com
1 chromobyte-com
1 cheltenham
1 cheetahnode-com
1 cheapestvps-org
1 centicero-com
1 cape-town
1 burstnetworks-com-au
1 bundle
1 bucharest
1 brisbane
1 brampton
1 boxvps-com
1 boston
1 boostvps-com
1 bitronictech-net
1 bitcoins
1 bitcable-com
1 bigbrainhost-com
1 betavps-net
1 betaforce-com
1 berkshire
1 barcelona
1 axisnext-com
1 avenuehost-com
1 avantehosting-net
1 availablevps-com
1 atlantic-net
1 atelra-com
1 asurahosting-com
1 astrovps-com
1 astoundinghost-com
1 arionvps-com
1 arabicahosting-com
1 appvz-com
1 alreadyvps-net
1 alpinedc-com
1 alpharacks
1 alicante
1 albasserdam
1 africa
1 aerovps-com
1 adelaidehost-com
1 accuratehub-com
1 abdicar-com
1 9xhost-info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment