We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd24b78 commit 04a74a0Copy full SHA for 04a74a0
1 file changed
scripts/1-fetch/arxiv_fetch.py
@@ -600,7 +600,7 @@ def query_arxiv(args):
600
# Only process CC-licensed papers
601
if (
602
metadata["license"] != "Unknown"
603
- and "CC" in metadata["license"]
+ and metadata["license"].startswith("CC")
604
):
605
license_info = metadata["license"]
606
category = metadata["category"]
@@ -684,7 +684,7 @@ def query_arxiv(args):
684
f"Provenance file write failed: {e}", 1
685
)
686
687
- LOGGER.info(f"Total CC licensed papers fetched: {total_fetched}")
+ LOGGER.info(f"Total papers with CC licenses fetched: {total_fetched}")
688
LOGGER.info(f"License distribution: {dict(license_counts)}")
689
690
0 commit comments