aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/no_body.html
diff options
context:
space:
mode:
authorMatt Lyon <matthewlyon18@gmail.com>2020-09-09 12:26:33 +0100
committerMatt Lyon <matthewlyon18@gmail.com>2020-09-09 12:26:33 +0100
commit4e2d04eca0147396092d2163bd8706fe497a8bf1 (patch)
treed401230004fba97c37abf71c93f4b3c9078f33b0 /tests/data/no_body.html
parent1ad2946a5ff0902c8a028b7caec67037b8e61ce3 (diff)
downloadtpb-lite-4e2d04eca0147396092d2163bd8706fe497a8bf1.tar.gz
tpb-lite-4e2d04eca0147396092d2163bd8706fe497a8bf1.tar.bz2
tpb-lite-4e2d04eca0147396092d2163bd8706fe497a8bf1.zip
added tests, switched to lxml
Diffstat (limited to 'tests/data/no_body.html')
-rw-r--r--tests/data/no_body.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/tests/data/no_body.html b/tests/data/no_body.html
new file mode 100644
index 0000000..f301987
--- /dev/null
+++ b/tests/data/no_body.html
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" >
+<head>
+ <title>The Pirate Bay - The galaxy's most resilient bittorrent site</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search The Pirate Bay" />
+ <link rel="stylesheet" type="text/css" href="/static/css-new/pirate6.css"/>
+ <style type="text/css">
+ .searchBox{
+ margin: 6px;
+ width: 300px;
+ vertical-align: middle;
+ padding: 2px;
+ background-image:url('/static/img/icon-https.gif');
+ background-repeat:no-repeat;
+ background-position: right;
+ }
+
+ .detLink {
+ font-size: 1.2em;
+ font-weight: 400;
+ }
+ .detDesc {
+ color: #4e5456;
+ }
+ .detDesc a:hover {
+ color: #000099;
+ text-decoration: underline;
+ }
+ .sortby {
+ text-align: left;
+ float: left;
+ }
+ .detName {
+ padding-top: 3px;
+ padding-bottom: 2px;
+ }
+ .viewswitch {
+ font-style: normal;
+ float: right;
+ text-align: right;
+ font-weight: normal;
+ }
+ </style>
+ <script src="/static/js/tpb.js" type="text/javascript"></script>
+ <script language="javascript" type="text/javascript">if (top.location != self.location) {top.location.replace(self.location);}</script>
+</head>
+
+
+</html>