diff --git a/README.md b/README.md
index f2658c7..4fcea85 100644
--- a/README.md
+++ b/README.md
@@ -484,6 +484,11 @@ The configuration example above changes the default configuration to show all pr
Projects with fewer stars than the specified threshold will be hidden. |
100 |
+
+ require_homepage |
+ If True, all projects without a detected homepage will be hidden. |
+ True |
+
require_license |
If True, all projects without a detected license will be hidden. |
diff --git a/src/best_of/default_config.py b/src/best_of/default_config.py
index ce7489d..98c552f 100644
--- a/src/best_of/default_config.py
+++ b/src/best_of/default_config.py
@@ -29,6 +29,9 @@ def prepare_configuration(cfg: dict) -> Dict:
if "min_stars" not in config:
config.min_stars = 100
+ if "require_homepage" not in config:
+ config.require_homepage = True
+
if "require_license" not in config:
config.require_license = True
diff --git a/src/best_of/generators/markdown_list.py b/src/best_of/generators/markdown_list.py
index 283f981..f10a79f 100644
--- a/src/best_of/generators/markdown_list.py
+++ b/src/best_of/generators/markdown_list.py
@@ -173,7 +173,7 @@ def generate_license_info(project: Dict, configuration: Dict) -> Tuple[str, int]
licenses_url = licenses_name
licenses_name = "Custom"
else:
- licenses_url = "https://tldrlegal.com/search?q=" + urllib.parse.quote(
+ licenses_url = "https://tldrlegal.com/search?query=" + urllib.parse.quote(
project.license
)
license_metadata = get_license(licenses_name)
diff --git a/src/best_of/projects_collection.py b/src/best_of/projects_collection.py
index dd58d28..3291c52 100644
--- a/src/best_of/projects_collection.py
+++ b/src/best_of/projects_collection.py
@@ -400,7 +400,7 @@ def apply_filters(project_info: Dict, configuration: Dict) -> None:
project_info.show = False
return
- if not project_info.homepage:
+ if not project_info.homepage and configuration.require_homepage:
log.info(f"Could not find a valid homepage for {project_info.name}")
project_info.show = False