<commit_before>require_relative 'lib/tess_scrapers'

log = 'log/scrapers.log'
output = 'log/scrapers.out' # Need to logrotate this!

scrapers = [
   BiocompRdfaScraper,
   BitsvibEventsJsonldScraper,
   BitsvibRdfaScraper,
   BmtcJsonldScraper,
   CambridgeEventsScraper,
   CourseraScraper,
   CscEventsScraper,
   DataCarpentryScraper,
   DenbiScraper,
   DtlsEventsScraper,
  # EbiScraper, # Broken old materials one
   EbiJsonScraper,
   ElixirEventsScraper,
   ErasysRdfaScraper,
   FlemishJsonldEventsScraper,
   FuturelearnRdfaScraper,
   GalaxyScraper,
   Genome3dScraper,
   GobletRdfaScraper,
   IfbRdfaScraper,
   KhanAcademyApiScraper,
   LegacySoftwareCarpentryScraper,
   NgsRegistryScraper,
   PraceEventsScraper,
   RssScraper,
# SibScraper, #Not working - SIB site being recreated
   SoftwareCarpentryEventsScraper,
# IannEventsScraper,
   ScilifelabScraper
]

options = { output_file: output, debug: false, verbose: false, offline: false, cache: false } # Live!
#options = { output_file: output, debug: true, verbose: true, offline: false, cache: true } # Testing

begin<commit_msg>Added portugal scraper to run task<commit_after>require_relative 'lib/tess_scrapers'

log = 'log/scrapers.log'
output = 'log/scrapers.out' # Need to logrotate this!

scrapers = [
   BiocompRdfaScraper,
   BitsvibEventsJsonldScraper,
   BitsvibRdfaScraper,
   BmtcJsonldScraper,
   CambridgeEventsScraper,
   CourseraScraper,
   CscEventsScraper,
   DataCarpentryScraper,
   DenbiScraper,
   DtlsEventsScraper,
  # EbiScraper, # Broken old materials one
   EbiJsonScraper,
   ElixirEventsScraper,
   ErasysRdfaScraper,
   FlemishJsonldEventsScraper,
   FuturelearnRdfaScraper,
   GalaxyScraper,
   Genome3dScraper,
   GobletRdfaScraper,
   IfbRdfaScraper,
   KhanAcademyApiScraper,
   LegacySoftwareCarpentryScraper,
   NgsRegistryScraper,
   PortugalEventsScraper,
   PraceEventsScraper,
   RssScraper,
# SibScraper, #Not working - SIB site being recreated
   SoftwareCarpentryEventsScraper,
# IannEventsScraper,
   ScilifelabScraper
]

options = { output_file: output, debug: false, verbose: false, offline: false, cache: false } # Live!
#options = { output_file: output, debug: true, verbose: true, offline: false, cache: true } # Testing

begin
{'fraction_non_alphanumeric': 0.07432131731197152, 'fraction_numerical': 0.0008900756564307966, 'mean_word_length': 4.9787234042553195, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4391069', 'n_tokens_mistral': 893, 'n_tokens_neox': 879, 'n_words': 155}