1 diff --git a/src/Tweeper.php b/src/Tweeper.php
2 index 8ac2fe3..c45aab5 100644
5 @@ -355,6 +355,15 @@ class Tweeper {
6 $html = call_user_func_array(array($this, $preprocess_html_host_method), array($html));
9 + // XXX REMOVE: instrumentation to catch promoted tweets
10 + if ($host == "twitter.com") {
11 + $twitter_promoted_match_expr = '/promoted/i';
12 + $ret = preg_match($twitter_promoted_match_expr, $html, $matches);
14 + file_put_contents("/home/ao2/TWITTER_PROMOTED_DUMP.html", $html);
18 $xmlDoc = $this->htmlToXml($html, $host);
19 if (NULL === $xmlDoc) {