Skip to content

Instantly share code, notes, and snippets.

@sergot
Created July 30, 2014 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergot/5f0b4f139491db35b694 to your computer and use it in GitHub Desktop.
Save sergot/5f0b4f139491db35b694 to your computer and use it in GitHub Desktop.
$ ./crawler.p6 google-analytics.com
<!DOCTYPE html>
<html class="google" lang="en">
<head>
<script>
(function(H){H.className=H.className.replace(/\bgoogle\b/,'google-js')})(document.documentElement)
</script>
<meta charset="utf-8">
<meta content="initial-scale=1, minimum-scale=1, width=device-width" name="viewport">
<meta content=
"Google Analytics lets you measure your advertising ROI as well as track your Flash, video, and social networking sites and applications."
name="description">
<title>
Google Analytics Official Website – Web Analytics &amp; Reporting
</title>
<script src="//www.google.com/js/google.js">
</script>
<script>
(function(){window.adsTracker=new gweb.analytics.AutoTrack({trackQueryParams:true,cookiePath:"/analytics/",profile:"UA-10005-1"})})();
</script>
<link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&amp;lang=en" rel=
"stylesheet">
<link href="/analytics/css/default-nelson.css" rel="stylesheet">
<link href="//www.google.com/analytics/images/favicon.ico" rel="shortcut icon" type=
"image/x-icon">
<script>
window.ga = window.ga || function() {(ga.q = ga.q || []).push(arguments)};
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = '//www.google-analytics.com/analytics.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
ga('create', 'UA-38676921-4');
ga('send', 'pageview');
</script>
<meta content="//www.google.com/analytics/images/misc/product-icon.png" itemprop="image">
<link href="//www.google.com/analytics/images/misc/product-icon.png" rel="image_src">
<link href="//www.google.com/css/gweb/lightbox.css" rel="stylesheet">
<script src="js/herointeractive.view.min.js">
</script>
</head>
<body>
<div class="maia-header" id="maia-header" role="banner">
<div class="maia-aux">
<h1>
<a href="../analytics/"><img alt="Google" src=
"//www.google.com/images/logos/google_logo_41.png"> Analytics</a>
</h1><a class="maia-teleport" href="#content">Skip to content</a>
<div class="maia-util">
<ul>
<li class="ga-auth-false" id="ga-product-links">
<span class="ga-sign-in-cta"><a data-g-action="Click" data-g-event="Maia: Site Nav"
data-g-label="Sign in" href=
"//www.google.com/accounts/ServiceLogin?service=analytics&amp;passive=true&amp;nui=1&amp;hl=en&amp;continue=https://www.google.com/analytics/web/%3Fhl%3Den&amp;followup=https://www.google.com/analytics/web/%3Fhl%3Den">
Sign in</a> or <a data-g-action="Click" data-g-event="Maia: Site Nav" data-g-label=
"Create an account" href=
"//www.google.com/accounts/ServiceLogin?service=analytics&amp;passive=true&amp;nui=1&amp;hl=en&amp;continue=https://www.google.com/analytics/web/%3Fhl%3Den&amp;followup=https://www.google.com/analytics/web/%3Fhl%3Den&amp;userexp=signup">
create an account</a></span> <a class=
"maia-button maia-button-secondary ga-product-cta" href=
"https://www.google.com/analytics/web/?hl=en">Access Google Analytics</a>
</li>
<li class="ga-util-menu secondary-link">
<a data-g-action="Click" data-g-event="Maia: Site Nav" data-g-label="Resources" href=
"../analytics/resources/">Resources <span>&nbsp;</span></a>
<ul>
<li>
<a data-g-action="Click" data-g-event="Maia: Site Nav" data-g-label=
"Resources – Partner Services" href=
Negative character fed to cclass: '-30'
in method match at src/gen/m-CORE.setting:6291
in sub get-urls at ./crawler.p6:41
in sub MAIN at ./crawler.p6:12
in block at ./crawler.p6:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment