Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
new workflow
VinciGit00db43f104e889
diff --git a/.github/workflows/evaluate_pylint_score.py b/.github/workflows/evaluate_pylint_score.pyindex 1d31118a..0e1e5781 100644--- a/.github/workflows/evaluate_pylint_score.py+++ b/.github/workflows/evaluate_pylint_score.py@@ -1,18 +1,24 @@# evaluate_pylint_score.pyimport sys+import redef evaluate_pylint_score():lines = sys.stdin.readlines()score_line = next((line for line in lines if 'Your code has been rated at' in line), None)if score_line:- score = float(score_line.split(' ')[-2])- if score >= 6:- print("Pylint score is acceptable. Proceeding with the push.")- sys.exit(0)+ score_match = re.search(r'(\d+\.\d+)', score_line)+ if score_match:+ score = float(score_match.group(1))+ if score >= 6:+ print("Pylint score is acceptable. Proceeding with the push.")+ sys.exit(0)+ else:+ print("Pylint score is below 6. Skipping the push.")+ sys.exit(1)else:- print("Pylint score is below 6. Skipping the push.")+ print("Unable to parse pylint score. Skipping the push.")sys.exit(1)else:print("Pylint score not found in output. Skipping the push.")