Spaces:
Sleeping
Sleeping
H4CK3R-5M4CK3R
commited on
Commit
·
ccab18e
1
Parent(s):
8fbf770
Removed testing mod and all sites are working now
Browse files
LOGS.txt
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
18-16-51.646819/26-7-2024
|
2 |
-
------------------------------------------------------------------
|
3 |
-
|
4 |
-
18-16-51.648099/26-7-2024 -> Total links found 1
|
5 |
-
18-16-51.650375/26-7-2024 -> Getting data for link https://www.degruyter.com/journal/key/fca/24/5/html
|
6 |
-
18-17-53.800210/26-7-2024 -> Total links found 1
|
7 |
-
18-17-53.802712/26-7-2024 -> Getting data for link https://www.degruyter.com/journal/key/fca/24/5/html
|
8 |
-
18-19-12.737504/26-7-2024 -> Total links found 1
|
9 |
-
18-19-12.741695/26-7-2024 -> Getting data for link https://www.degruyter.com/journal/key/fca/24/5/html
|
10 |
-
18-19-40.666101/26-7-2024 -> Total links found 1
|
11 |
-
18-19-40.667129/26-7-2024 -> Getting data for link https://www.degruyter.com/journal/key/fca/24/5/html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py
CHANGED
@@ -172,18 +172,16 @@ def filterUrlandRun(url: str, from_range: int, to_range: int, reverse: bool, out
|
|
172 |
try:
|
173 |
if filen:
|
174 |
print(f"Getting data for link {ur.format(i=isu)}")
|
175 |
-
|
176 |
isu += 1
|
177 |
else:
|
178 |
print(f"Getting data for link {ur}")
|
179 |
-
|
180 |
except Exception as e:
|
181 |
print(f"Error : {traceback.format_exc()}", show=False)
|
182 |
break
|
183 |
-
for
|
184 |
-
|
185 |
-
for auth in authors:
|
186 |
-
sht.save(auth)
|
187 |
if filen == False: # If filen is true then dont need to start the loop
|
188 |
break
|
189 |
sht.save_to_file()
|
@@ -196,18 +194,16 @@ def filterUrlandRun(url: str, from_range: int, to_range: int, reverse: bool, out
|
|
196 |
try:
|
197 |
if filen:
|
198 |
print(f"Getting data for link {ur.format(i=isu)}")
|
199 |
-
|
200 |
isu += 1
|
201 |
else:
|
202 |
print(f"Getting data for link {ur}")
|
203 |
-
|
204 |
except Exception as e:
|
205 |
print(f"Error : {traceback.format_exc()}", show=False)
|
206 |
break
|
207 |
-
for
|
208 |
-
|
209 |
-
for auth in authors:
|
210 |
-
sht.save(auth)
|
211 |
if filen == False: # If filen is true then dont need to start the loop
|
212 |
break
|
213 |
sht.save_to_file()
|
|
|
172 |
try:
|
173 |
if filen:
|
174 |
print(f"Getting data for link {ur.format(i=isu)}")
|
175 |
+
authors, _ = sciencedirect.run(ur.format(i=isu))
|
176 |
isu += 1
|
177 |
else:
|
178 |
print(f"Getting data for link {ur}")
|
179 |
+
authors, _ = sciencedirect.run(ur)
|
180 |
except Exception as e:
|
181 |
print(f"Error : {traceback.format_exc()}", show=False)
|
182 |
break
|
183 |
+
for auth in authors:
|
184 |
+
sht.save(auth)
|
|
|
|
|
185 |
if filen == False: # If filen is true then dont need to start the loop
|
186 |
break
|
187 |
sht.save_to_file()
|
|
|
194 |
try:
|
195 |
if filen:
|
196 |
print(f"Getting data for link {ur.format(i=isu)}")
|
197 |
+
authors, _ = sciencedirect_admaths.run(ur.format(i=isu))
|
198 |
isu += 1
|
199 |
else:
|
200 |
print(f"Getting data for link {ur}")
|
201 |
+
authors, _ = sciencedirect_admaths.run(ur)
|
202 |
except Exception as e:
|
203 |
print(f"Error : {traceback.format_exc()}", show=False)
|
204 |
break
|
205 |
+
for auth in authors:
|
206 |
+
sht.save(auth)
|
|
|
|
|
207 |
if filen == False: # If filen is true then dont need to start the loop
|
208 |
break
|
209 |
sht.save_to_file()
|