From b4e5cc63110b30c3aaa4e17cebd5ed743d2e7fda Mon Sep 17 00:00:00 2001 From: arya-zs <138391704+arya-zs@users.noreply.github.com> Date: Mon, 20 Nov 2023 10:17:37 +0530 Subject: [PATCH] Update scrape_news_api_UX.py --- scripts/scrape_news_api_UX.py | 56 +---------------------------------- 1 file changed, 1 insertion(+), 55 deletions(-) diff --git a/scripts/scrape_news_api_UX.py b/scripts/scrape_news_api_UX.py index e646441..14fe644 100644 --- a/scripts/scrape_news_api_UX.py +++ b/scripts/scrape_news_api_UX.py @@ -28,61 +28,7 @@ def generate_markdown(articles, keyword, file): # Open the README.md file in write mode to refresh its content with open('README.md', 'w') as file: file.write('# Latest News\n\n') - keywords = ["Pharmaceutical Industry", -"New Drug Approvals", -"FDA Approval", -"Clinical Trials", -"Drug Development", -"Pharma Mergers & Acquisitions", -"Pharmaceutical Regulation", -"Drug Safety", -"Pharma Patent", -"Life Sciences", -"Biotechnology", -"Genomics", -"CRISPR", -"Bioinformatics", -"Molecular Biology", -"Cell Therapy", -"Precision Medicine", -"Life Science Research", -"Medical Devices", -"Medical Device Innovation", -"FDA Device Approval", -"Wearable Health Tech", -"Medical Imaging Technology", -"Surgical Instruments", -"Diagnostic Equipment", -"Healthcare Sector", -"Digital Health", -"Telemedicine", -"Healthcare Policy", -"Patient Care Innovation", -"Health Insurance", -"Public Health", -"Specific Therapeutic Areas", -"Oncology", -"Neurology", -"Cardiology", -"Immunology", -"Diabetes", -"Rare Diseases", -"Business and Market Trends", -"Pharma Market Trends", -"Biotech Startups", -"Healthcare Investment", -"Biopharma Partnerships", -"Pharmaceutical Marketing", -"Emerging Technologies", -"AI in Pharma", -"Machine Learning in Drug Discovery", -"Blockchain in Healthcare", -"3D Printing in Medicine", -"Regulatory and Compliance", -"FDA Regulations", -"EMA Guidelines", -"Clinical Trial Regulation", -"Healthcare Compliance"] # Example keywords + keywords = ["Pharmaceutical Industry","New Drug Approvals","FDA Approval","Clinical Trials","Drug Development","Pharma Mergers & Acquisitions","Pharmaceutical Regulation","Drug Safety","Pharma Patent","Life Sciences","Biotechnology","Genomics","CRISPR","Bioinformatics","Molecular Biology","Cell Therapy","Precision Medicine","Life Science Research","Medical Devices","Medical Device Innovation","FDA Device Approval","Wearable Health Tech","Medical Imaging Technology","Surgical Instruments","Diagnostic Equipment","Healthcare Sector","Digital Health","Telemedicine","Healthcare Policy","Patient Care Innovation","Health Insurance","Public Health","Specific Therapeutic Areas","Oncology","Neurology","Cardiology","Immunology","Diabetes","Rare Diseases","Business and Market Trends","Pharma Market Trends","Biotech Startups","Healthcare Investment","Biopharma Partnerships","Pharmaceutical Marketing","Emerging Technologies","AI in Pharma","Machine Learning in Drug Discovery","Blockchain in Healthcare","3D Printing in Medicine","Regulatory and Compliance","FDA Regulations","EMA Guidelines","Clinical Trial Regulation","Healthcare Compliance"] # Example keywords for keyword in keywords: articles = fetch_news(api_key, keyword)