Spaces:
Running
Running
FauziIsyrinApridal
commited on
Commit
·
0684d22
1
Parent(s):
a972bc4
pindah urutan
Browse files- components/SemesterFilter.tsx +0 -1
- scrapping/pnp_scrap.py +1 -1
- scrapping/run_all.py +1 -2
components/SemesterFilter.tsx
CHANGED
@@ -100,7 +100,6 @@ export default function SemesterFilter({
|
|
100 |
className="flex items-center gap-2 rounded-md border border-gray-300 bg-white px-3 py-2 text-sm shadow-sm hover:bg-gray-50"
|
101 |
>
|
102 |
<Filter className="h-4 w-4" />
|
103 |
-
<Calendar className="h-4 w-4" />
|
104 |
<span>{getCurrentFilterText()}</span>
|
105 |
<ChevronDown className="h-4 w-4" />
|
106 |
</button>
|
|
|
100 |
className="flex items-center gap-2 rounded-md border border-gray-300 bg-white px-3 py-2 text-sm shadow-sm hover:bg-gray-50"
|
101 |
>
|
102 |
<Filter className="h-4 w-4" />
|
|
|
103 |
<span>{getCurrentFilterText()}</span>
|
104 |
<ChevronDown className="h-4 w-4" />
|
105 |
</button>
|
scrapping/pnp_scrap.py
CHANGED
@@ -28,7 +28,7 @@ class PNPContentSpider(scrapy.Spider):
|
|
28 |
]
|
29 |
|
30 |
custom_settings = {
|
31 |
-
'DOWNLOAD_DELAY':
|
32 |
'RETRY_TIMES': 3,
|
33 |
'HTTPCACHE_ENABLED': False,
|
34 |
'ROBOTSTXT_OBEY': True,
|
|
|
28 |
]
|
29 |
|
30 |
custom_settings = {
|
31 |
+
'DOWNLOAD_DELAY': 1,
|
32 |
'RETRY_TIMES': 3,
|
33 |
'HTTPCACHE_ENABLED': False,
|
34 |
'ROBOTSTXT_OBEY': True,
|
scrapping/run_all.py
CHANGED
@@ -3,9 +3,8 @@ import subprocess
|
|
3 |
scripts = [
|
4 |
"dosen_scrap.py",
|
5 |
"jadwal_scrap.py",
|
6 |
-
"jurusan_scrap.py",
|
7 |
"pnp_scrap.py",
|
8 |
-
"
|
9 |
]
|
10 |
|
11 |
for script in scripts:
|
|
|
3 |
scripts = [
|
4 |
"dosen_scrap.py",
|
5 |
"jadwal_scrap.py",
|
|
|
6 |
"pnp_scrap.py",
|
7 |
+
"jurusan_scrap.py",
|
8 |
]
|
9 |
|
10 |
for script in scripts:
|