-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
117 lines (84 loc) · 2.23 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Craigslist Scraper v0.1</title>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
</head>
<body>
<style>
/* Regular Weight */
@font-face {
font-family: Merriweather;
src: url("fonts/Merriweather-Regular.ttf");
}
/* Bold (600) Weight */
@font-face {
font-family: Merriweather;
src: url("fonts/Merriweather-Bold.ttf");
font-weight: bold;
}
/* Light Weight */
@font-face {
font-family: Merriweather;
src: url("fonts/Merriweather-Light.ttf");
font-weight: lighter;
}
body{
background-color: #23272a;
color: white;
text-align:center;
font-family: Merriweather;
}
td {
padding:20px;
font-weight: bold;
}
table {
width: 100%;
}
.listing-image{
width:100px;
height:100px;
object-fit: cover;
float: left;
padding: 5px;
}
.title-cell{
width: 20%;
}
.url-cell{
width: 25%;
}
.price-cell{
width: 15%;
}
.image-cell{
width: 40%;
}
.queryfield{
padding:20px;
width:600px;
background-color: #2b2b2b;
color: #fff;
font-family: Merriweather;
}
.queryfieldwrapper{
padding:10px;
}
</style>
<h1>Craiglist Scraper</h1>
<h3 style="padding-left: 25%; padding-right: 25%;">
To find your query string, make a search on craigslist and copy everything after the '.org' (including the slash) and paste below:
</h3>
<p>
Enter a Query URL Below:
</p>
<label for="queryurlfield"><i>Query URL:</i></label><br>
<div class="queryfieldwrapper"><input class="queryfield" type="text" value="/search/cto?query=tesla+model+3&purveyor-input=owner&hasPic=1&min_price=25000&max_price=40000&min_auto_miles=1000&max_auto_miles=45000&auto_title_status=1" id="queryurlfield" name="queryurlfield"></div>
<br>
<button id="initiate" type="submit">Go!</button>
<div style="padding:10px" id="loadingText"></div>
<script src="index.js"></script>
</body>
</html>