lyseontech/scielo-scraping

v1.0.0 2022-10-12 19:19 UTC

This package is auto-updated.

Last update: 2024-12-26 00:01:02 UTC


README

Test Status

Scielo Scraping

Run web scraping in a specific SciELO journal and download all publications.

Install

To install with composer:

composer require librecodecoop/scielo-scraping

How to use?

Run the follow command to see commands list:

php bin/scielo

The main command:

php bin/scielo scielo:download-all --help
Usage:
  scielo:download-all [options] [--] <slug>

Arguments:
  slug                     Slug of journal

Options:
      --year[=YEAR]        Year of journal (multiple values allowed)
      --volume[=VOLUME]    Volume number (multiple values allowed)
      --issue[=ISSUE]      Issue name (multiple values allowed)
      --article[=ARTICLE]  Article name
      --output[=OUTPUT]    Output directory [default: "output"]
      --assets[=ASSETS]    Assets directory [default: "assets"]

All commands:

 ojs
  ojs:import-issue          
  ojs:setup-ojs             Setup OJS, only use if you don't have OJS installed.
 scielo
  scielo:download-all       
  scielo:download-binary    
  scielo:download-metadata