webscraping / templates /index.html
nielitropar's picture
Rename templates /index.html to templates/index.html
84e6b91 verified
<html>
<head>
<link rel="icon" type="image/png"
href="https://cdn-uploads.huggingface.co/production/uploads/6575c3025da75f987f12c909/-W6ejR2ETSwECUXUZ6YiU.png" />
<title>Web Scraper</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
text-align: center;
}
.logo {
margin-top: 30px;
width: 128px;
height: 128px;
}
</style>
</head>
<body>
<img src="https://cdn-uploads.huggingface.co/production/uploads/6575c3025da75f987f12c909/y_f0iefKCHXOYWV7TjGSb.png"
alt="Logo" class="logo">
<h1>Customizable Web Scraper</h1>
<form action="/scrape" method="POST">
<label for="url">Enter URL:</label><br>
<input type="text" id="url" name="urll" placeholder="https://example.com" required><br><br>
<label for="tag">Enter Tag to Scrape (e.g., p, h1, img):</label><br>
<input type="text" id="tag" name="tag" placeholder="p" required><br><br>
<button type="submit">Scrape</button>
</form>
</body>
</html>