softhauzpy 0.0.9__tar.gz → 0.0.91__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/PKG-INFO +1 -1
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/setup.py +1 -1
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/softhauzpy/main.py +7 -3
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/softhauzpy.egg-info/PKG-INFO +1 -1
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/README.md +0 -0
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/setup.cfg +0 -0
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/softhauzpy/__init__.py +0 -0
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/softhauzpy.egg-info/SOURCES.txt +0 -0
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/softhauzpy.egg-info/dependency_links.txt +0 -0
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/softhauzpy.egg-info/requires.txt +0 -0
- {softhauzpy-0.0.9 → softhauzpy-0.0.91}/softhauzpy.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: softhauzpy
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.91
|
|
4
4
|
Summary: is a comprehensive Python toolkit built for developers creating intelligent, data-driven web applications. It provides a powerful suite of web utilities including web scraping tools, crawling systems, content extraction pipelines, and search engine components that help developers build fully customizable in-house website search solutions.
|
|
5
5
|
Home-page: https://softhauz.ca
|
|
6
6
|
Author: Karen Urate
|
|
@@ -223,16 +223,20 @@ def get_search_results_list(page_list=[], keywords='') -> list:
|
|
|
223
223
|
|
|
224
224
|
if len(url) == 0 or len(url) < 1:
|
|
225
225
|
continue
|
|
226
|
-
|
|
226
|
+
|
|
227
227
|
title = page[1] or ''
|
|
228
228
|
author = page[2] or ''
|
|
229
229
|
description = page[3] or ''
|
|
230
230
|
creation_date = page[4] or ''
|
|
231
231
|
modified_date = page[5] or ''
|
|
232
|
-
assigned_location = page[6]
|
|
232
|
+
assigned_location = page[6] if len(page[6])>3 else ''
|
|
233
233
|
|
|
234
234
|
if keywords in (extract_pure_text(url, title=title, author=author, description=description, creation_date=creation_date, modified_date=modified_date, assigned_location=assigned_location)["content"]).lower():
|
|
235
|
-
|
|
235
|
+
|
|
236
|
+
if detect_input_type(url) != "url":
|
|
237
|
+
results.append((assigned_location, title, author, description, creation_date, modified_date))
|
|
238
|
+
else:
|
|
239
|
+
results.append((url, title, author, description, creation_date, modified_date))
|
|
236
240
|
|
|
237
241
|
return results
|
|
238
242
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: softhauzpy
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.91
|
|
4
4
|
Summary: is a comprehensive Python toolkit built for developers creating intelligent, data-driven web applications. It provides a powerful suite of web utilities including web scraping tools, crawling systems, content extraction pipelines, and search engine components that help developers build fully customizable in-house website search solutions.
|
|
5
5
|
Home-page: https://softhauz.ca
|
|
6
6
|
Author: Karen Urate
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|