Advertisement
PikalaxALT

Untitled

Mar 29th, 2016
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 5.21 KB | None | 0 0
  1. >>> R = requests.get("http://watchout4snakes.com/wo4snakes/Random/Rando
  2. mParagraph")
  3.  
  4. >>> R.content
  5. '<!DOCTYPE html>\r\n<html>\r\n<head>\r\n    <title>Random Word Generator - Paragraph</title>\r\n    <meta name="viewport" content="initial-scale=1.0,width=device-width" />\r\n    <link href="/wo4snakes/Content/Site.css" rel="stylesheet" type="text/css" media="only screen and (min-device-width: 481px)" />\r\n    <link href="/wo4snakes/Content/Mobile.css" rel="stylesheet" type="text/css" media="only screen and (max-device-width: 480px)" />\r\n    <script src="/wo4snakes/Scripts/jquery-2.0.3.min.js" type="text/javascript"></script>\r\n    <script src="/wo4snakes/Scripts/jquery-ui-1.8.20.js" type="text/javascript"></script>\r\n    <script src="/wo4snakes/Scripts/jquery.unobtrusive-ajax.js" type="text/javascript"></script>\r\n    <script src="/wo4snakes/Scripts/jquery.validate.min.js" type="text/javascript"></script>\r\n    <script src="/wo4snakes/Scripts/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>\r\n    <script src="/wo4snakes/Scripts/jquery.blockUI.js" type="text/javascript"></script>\r\n    <script src="/wo4snakes/Scripts/jquery.form.js" type="text/javascript"></script>\r\n    <script src="/wo4snakes/Scripts/jquery.ui.menubar.js" type="text/javascript"></script>\r\n    <script src="/wo4snakes/Scripts/jqia2.support.js" type="text/javascript"></script>\r\n    <script src="/wo4snakes/Scripts/Creativity.common.js" type="text/javascript"></script>\r\n    <script type="text/javascript">\r\n\r\n      var _gaq = _gaq || [];\r\n      _gaq.push([\'_setAccount\', \'UA-45408874-1\']);\r\n      _gaq.push([\'_trackPageview\']);\r\n\r\n      (function() {\r\n        var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true;\r\n        ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\';\r\n        var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s);\r\n      })();\r\n\r\n    </script>\r\n    \r\n<script>\r\n    (function ($) {\r\n        $(document).ready(function () {\r\n            var options = {\r\n                target: \'#result\',\r\n                beforeSubmit: function () {\r\n                    $(\'#result\').empty();\r\n                    $.fnWait();\r\n                },\r\n                success: function () {\r\n                    $.unblockUI();\r\n                }\r\n            };\r\n            $(\'#frmParagraph\').ajaxForm(options)\r\n                              .find(\'input[type=submit]\')\r\n                              .click();\r\n        });\r\n    })(jQuery);\r\n</script>\r\n\r\n</head>\r\n\r\n<body>\r\n    <noscript>\r\n        <div class="browserConfigError">\r\n            <p>Please enable JavaScript in your browser to use this site.</p>\r\n        </div>\r\n    </noscript>\r\n    <div id="pleaseWait" style="display:none;"><img src="/wo4snakes/Content/Images/ajax-loader.gif" alt="Please wait" /></div>\r\n    <div class="bannerContainer">\r\n        <div class="bannerFillLeft"></div>\r\n        <div class="banner">\r\n            <a href="/wo4snakes/">\r\n                <img src="/wo4snakes/Content/Images/wo4snakesBanner.png" alt="" />\r\n            </a>\r\n        </div>\r\n        <div class="bannerFillRight"></div>\r\n        <div class="bannerHandheld">\r\n            watchout4snakes\r\n        </div>\r\n        <div class="menubar">\r\n            <a href="/wo4snakes/Random/RandomWord">Word</a>\r\n            <a href="/wo4snakes/Random/RandomWordPlus">Word+</a>\r\n            <a href="/wo4snakes/Random/RandomPhrase">Phrase</a>\r\n            <a href="/wo4snakes/Random/RandomSentence">Sentence</a>\r\n            <a href="/wo4snakes/Random/RandomParagraph">Paragraph</a>\r\n        </div>\r\n    </div>\r\n    <div class="mainBody">\r\n        <div class="content">\r\n            <h2>Paragraph</h2>\r\n            <hr class="layoutRule" />\r\n            <div class="resultContainer">\r\n                <div class="resultBox">\r\n                    \r\n<table class="paragraphResult">\r\n    <tr>\r\n        <td>\r\n            <span id="result"></span>\r\n        </td>\r\n    </tr>\r\n</table>\r\n\r\n                </div>\r\n            </div>\r\n            <hr class="layoutRule" />\r\n            <div class="formContainer">\r\n                \r\n<form action="/wo4snakes/Random/RandomParagraph" id="frmParagraph" method="post">        <p><input type="submit" value="Refresh" /></p>\r\n        <table class="tblRandomParagraph">\r\n            <tbody>\r\n                <tr>\r\n                    <td class="col1">Proper Noun 1:</td>\r\n                    <td class="col2">\r\n                        <input id="Subject1" name="Subject1" type="text" value="" />\r\n                    </td>\r\n                </tr>\r\n                <tr>\r\n                    <td class="col1">Proper Noun 2:</td>\r\n                    <td class="col2">\r\n                        <input id="Subject2" name="Subject2" type="text" value="" />\r\n                    </td>\r\n                </tr>\r\n            </tbody>\r\n        </table>\r\n</form>\r\n            </div>\r\n            <div class="adContainer"></div>\r\n        </div>\r\n    </div>\r\n</body>\r\n</html>\r\n'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement