Spaces:
Running
Running
Sao không thấy ô nhập url và nút trích xuất
Browse files- index.html +2 -4
- style.css +22 -1
index.html
CHANGED
|
@@ -35,7 +35,6 @@
|
|
| 35 |
Extract article content and images from any URL with our powerful web scraping tool
|
| 36 |
</p>
|
| 37 |
</section>
|
| 38 |
-
|
| 39 |
<!-- Main Scraper Interface -->
|
| 40 |
<section class="max-w-4xl mx-auto bg-white rounded-2xl shadow-xl p-8 mb-8">
|
| 41 |
<div class="flex items-center gap-3 mb-6">
|
|
@@ -46,7 +45,7 @@
|
|
| 46 |
<form id="scraperForm" class="space-y-6">
|
| 47 |
<div class="space-y-2">
|
| 48 |
<label for="urlInput" class="block text-sm font-medium text-gray-700">
|
| 49 |
-
|
| 50 |
</label>
|
| 51 |
<input
|
| 52 |
type="url"
|
|
@@ -75,8 +74,7 @@
|
|
| 75 |
</div>
|
| 76 |
</form>
|
| 77 |
</section>
|
| 78 |
-
|
| 79 |
-
<!-- Loading State -->
|
| 80 |
<div id="loading" class="hidden max-w-4xl mx-auto text-center p-8">
|
| 81 |
<div class="animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto mb-4"></div>
|
| 82 |
<p class="text-gray-600">Extracting content from website...</p>
|
|
|
|
| 35 |
Extract article content and images from any URL with our powerful web scraping tool
|
| 36 |
</p>
|
| 37 |
</section>
|
|
|
|
| 38 |
<!-- Main Scraper Interface -->
|
| 39 |
<section class="max-w-4xl mx-auto bg-white rounded-2xl shadow-xl p-8 mb-8">
|
| 40 |
<div class="flex items-center gap-3 mb-6">
|
|
|
|
| 45 |
<form id="scraperForm" class="space-y-6">
|
| 46 |
<div class="space-y-2">
|
| 47 |
<label for="urlInput" class="block text-sm font-medium text-gray-700">
|
| 48 |
+
Website URL
|
| 49 |
</label>
|
| 50 |
<input
|
| 51 |
type="url"
|
|
|
|
| 74 |
</div>
|
| 75 |
</form>
|
| 76 |
</section>
|
| 77 |
+
<!-- Loading State -->
|
|
|
|
| 78 |
<div id="loading" class="hidden max-w-4xl mx-auto text-center p-8">
|
| 79 |
<div class="animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto mb-4"></div>
|
| 80 |
<p class="text-gray-600">Extracting content from website...</p>
|
style.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
/* Shared styles across all pages */
|
| 2 |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 3 |
|
|
@@ -78,4 +79,24 @@ body {
|
|
| 78 |
|
| 79 |
.gallery-image:hover {
|
| 80 |
transform: scale(1.05);
|
| 81 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
/* Shared styles across all pages */
|
| 3 |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 4 |
|
|
|
|
| 79 |
|
| 80 |
.gallery-image:hover {
|
| 81 |
transform: scale(1.05);
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
/* Ensure form elements are visible */
|
| 85 |
+
#scraperForm {
|
| 86 |
+
display: block !important;
|
| 87 |
+
visibility: visible !important;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
#urlInput {
|
| 91 |
+
display: block !important;
|
| 92 |
+
visibility: visible !important;
|
| 93 |
+
opacity: 1 !important;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
/* Button visibility */
|
| 97 |
+
button[type="submit"],
|
| 98 |
+
button[type="button"] {
|
| 99 |
+
display: flex !important;
|
| 100 |
+
visibility: visible !important;
|
| 101 |
+
opacity: 1 !important;
|
| 102 |
+
}
|