Skip to content

Commit

Permalink
re-run process
Browse files Browse the repository at this point in the history
  • Loading branch information
vincerubinetti committed Jul 9, 2024
1 parent a1f330f commit 3a2faf0
Show file tree
Hide file tree
Showing 65 changed files with 517 additions and 2,077 deletions.
Binary file modified app/public/pdfs/Core Project OT2OD030160.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD030161.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD030162.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD030164.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD030544.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD030545.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD030546.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD030547.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD032092.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD032119.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD032619.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD036435.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project OT2OD036440.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030596.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030597.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030598.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030599.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030600.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030601.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030602.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030603.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030604.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030605.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030608.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD030609.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD032622.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD032623.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD032624.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD032625.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD032626.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD032627.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD032628.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD032629.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD032630.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD032666.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD034493.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD034494.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD034495.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD034496.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD034497.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD034498.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD034499.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD034500.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD034501.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD034502.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036489.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036490.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036491.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036492.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036493.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036494.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036495.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036496.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036497.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036498.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project R03OD036499.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Core Project U54OD036472.pdf
Binary file not shown.
Binary file modified app/public/pdfs/Program.pdf
Binary file not shown.
7 changes: 4 additions & 3 deletions data/ingest/journals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const { RAW_PATH } = process.env;

/** ranks url */
const ranksUrl = "https://www.scimagojr.com/journalrank.php";
/** raw data download text */
const downloadText = "Download data";
/** page to scrape */
const searchUrl = "https://www.scimagojr.com/journalsearch.php?q=";
/** selector to get first search result journal name */
Expand All @@ -31,9 +33,8 @@ export const getJournals = async (journalIds: string[]) => {
log(`Downloading from ${ranksUrl}`);
const page = await newPage();
await page.goto(ranksUrl, options);
const downloadPromise = page.waitForEvent("download", options);
await page.getByText("Download data").click(options);
const download = await downloadPromise;
await page.getByText(downloadText).click(options);
const download = await page.waitForEvent("download", options);
await download.saveAs(rankDataPath);
} catch (error) {
log(error, "warn");
Expand Down
Loading

0 comments on commit 3a2faf0

Please sign in to comment.