-
Mvolz authored
Update to translators including a bug fix for the Emdedded Metadata translator. Squashed commit of the following: commit 06fed1df Author: Marielle Volz <marielle.volz@gmail.com> Date: Fri Aug 11 10:16:07 2023 +0100 EM: Fix bug where Facebook profiles get added to author field (#3103) Fix bug where authors from open graph metadata fields only got added if they contained a Facebook link (as opposed to the intended result which is to skip the field if it did). commit c86fe6b0 Author: Pascal Quach <20374810+quachpas@users.noreply.github.com> Date: Sun Aug 6 23:11:27 2023 +0200 Add Optimization Online translator (#3042) commit 7fc02305 Author: Alex Tereschenko <alex-ter@users.noreply.github.com> Date: Sun Aug 6 22:27:23 2023 +0200 Zenodo: use preprint item type, add a respective test (#3100) Closes #3056. commit 1590d018 Author: Alex Tereschenko <alex-ter@users.noreply.github.com> Date: Sun Aug 6 22:25:39 2023 +0200 Fix CI check breakage due to chromedriver changes (#3101) As of version 115, ChromeDriver uses different package distribution method (more details at https://googlechromelabs.github.io/chrome-for-testing/), and currently used version 95.0.0 is not able to handle that, so all PR checks fail with the following message: Your Chrome version is 115.0.5790.110 Finding Chromedriver version. ChromeDriver installation failed Error: Request failed with status code 404 at createError (/home/runner/work/translators/translators/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/runner/work/translators/translators/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/home/runner/work/translators/translators/node_modules/axios/lib/adapters/http.js:269:11) at IncomingMessage.emit (node:events:539:35) at endReadableNT (node:internal/streams/readable:1345:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { url: 'https://chromedriver.storage.googleapis.com/LATEST_RELEASE_115.0.5790', method: 'get', headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'npm/8.11.0 node/v17.9.1 linux x64 workspaces/false ci/github-actions' }, <...and so on...> Just updating the chromedriver package is enough to fix, so here it is. Tested on my fork of the repo, see e.g., https://github.com/alex-ter/translators/actions/runs/5777601767/job/15657962595?pr=1 commit 3f753177 Author: Dan Stillman <dstillman@zotero.org> Date: Fri Aug 4 01:04:23 2023 -0400 Airiti: Remove search flag Follow-up to c9784da1 commit ca1b311e Author: Abe Jellinek <jellinek@berkeley.edu> Date: Thu Aug 3 11:52:01 2023 -0400 Add index.d.ts updater script and update item types commit b68ed129 Author: Justin Warren <justin@eigenmagic.com> Date: Thu Aug 3 22:39:13 2023 +1000 AustLII translator updates (#2882) commit 2b08a392 Author: hackbunny <7533668+hackbunny@users.noreply.github.com> Date: Thu Aug 3 04:49:42 2023 +0200 Twitter: Update title regex (#3092) commit 756ce079 Author: Sebastian Karcher <karcher@u.northwestern.edu> Date: Wed Aug 2 08:34:29 2023 +0200 MathSciNet Update for new site (#3072) commit c9784da1 Author: Dan Stillman <dstillman@zotero.org> Date: Mon Jul 31 17:06:18 2023 -0400 Airiti: Update tests A couple are still returning the wrong item type commit bb8c02b5 Author: Dan Stillman <dstillman@zotero.org> Date: Mon Jul 31 17:04:31 2023 -0400 Airiti: Remove search translation Closes #3088 commit fc532cd1 Author: Marielle Volz <marielle.volz@gmail.com> Date: Fri Jul 28 21:20:43 2023 +0100 Add doctoral thesis to type map (#3090) Map doctoral thesis (https://www.wikidata.org/wiki/Q56462344) to type thesis in type map commit b5180b58 Author: Dan Stillman <dstillman@zotero.org> Date: Fri Jul 28 05:46:35 2023 -0400 RIS: Fix Citavi RIS import An H2 tag, which Citavi seems to export, caused "entry.tags.indexOf is not a function", probably for many years (but anyone following our import instructions wouldn't be importing RIS). Fixes #2884 commit cc7c3c75 Author: Dan Stillman <dstillman@zotero.org> Date: Sun Jul 16 23:10:01 2023 -0400 Web of Science Tagged: Fix breakage in Zotero 6 trimEnd() isn't available in Zotero 6 Regression from 80c211d1 commit 4c8a8d0a Author: zoe-translates <zoe.ma@pm.me> Date: Fri Jul 14 23:40:10 2023 +0800 News Corp Australia: Scraping updates for more recent website editions (#3071) commit d68b0aae Author: Brendan O'Connell <68507084+brendan-oconnell@users.noreply.github.com> Date: Thu Jul 13 21:13:56 2023 +0200 Add Perlego (#3017) commit 28f344cd Merge: edde7011 4e6d3d7d Author: Dan Stillman <dstillman@zotero.org> Date: Wed Jul 12 05:10:34 2023 -0400 Merge pull request #3077 from zoe-translates/HAL-hotfixes [HotFix] HAL: Hotfix for identification failures commit edde7011 Author: zoe-translates <zoe.ma@pm.me> Date: Wed Jul 12 17:03:22 2023 +0800 clinicaltrials.gov: Update for new UI and enhancements (#3076) - Make target identification and the detection of item/search work for both the new UI at (www.)clinicaltrials.gov and the old UI at classic.clinicaltrials.gov. - Reduce network traffic significantly by eliminating the request for the full document when processing search results. In fact, the URL, which contains the NCTId, is all that's necessary for getting the results, and it can be scraped from the search-results page. - Use async requests for the JSON data, which also makes the code less nested. - Update and add test cases, including search page in both old and new UIs. - Eliminate some dead code. - In the routine processing JSON data, make the code less verbose. - Other small fixes. This resolves #3069. commit 4e6d3d7d Author: zoe-translates <116055375+zoe-translates@users.noreply.github.com> Date: Wed Jul 12 16:50:50 2023 +0800 [HotFix] HAL: Fix abstract, PDF link, and some more type identification - Update selector for abstract (it now has a class list with more class names so the previous XPath failed). - Update the selector for PDF link. - Cosmetic fix: further fixes to the type identification (affecting the Connector icon, not the actual item's metadata). commit 1a1feeaf Author: zoe-translates <116055375+zoe-translates@users.noreply.github.com> Date: Wed Jul 12 15:21:39 2023 +0800 [HotFix] HAL: Hotfix for identification failures The HAL translator did not work at all with the new HAL site at a different domain. - Update target regex for the new domain `hal.science` - Update the element selector for the content-type label - Do some cleaning with raw content-type label text; update some labels - Fix a large number of ESLint errors Resolves #3041 commit 80c211d1 Author: zoe-translates <zoe.ma@pm.me> Date: Fri Jul 7 05:12:37 2023 +0800 WoS Tagged: Reimplement the core algorithms. (#3062) commit 9ef7130e Author: Dan Stillman <dstillman@zotero.org> Date: Thu Jul 6 08:35:03 2023 -0400 Fix broken imports in <6.0.26 Broken by f5b02c1d (#3059) commit 410138cd Author: advoropaev <90554351+advoropaev@users.noreply.github.com> Date: Thu Jul 6 09:00:30 2023 +0300 eLibrary pages issue (#3026) commit a2396405 Author: zoe-translates <zoe.ma@pm.me> Date: Mon Jul 3 16:13:43 2023 +0800 IPCC: Add data for AR6 WG3. (#3070) The authorship data is based on the first pages of the book sections, the "How to Cite" page (https://www.ipcc.ch/report/ar6/wg3/about/how-to-cite-this-report/), and the author list at https://apps.ipcc.ch/report/authors/report.authors.php?q=37&p= (useful for partitioning author first/last names). Resolves #3061. See also: https://forums.zotero.org/discussion/comment/437022/#Comment_437022 commit aa7d6a2b Author: Martijn Staal <27222398+mastaal@users.noreply.github.com> Date: Sun Jul 2 05:08:03 2023 +0200 Add translator for Dutch newspaper NRC (#3055) commit 00413e20 Author: Dan Stillman <dstillman@zotero.org> Date: Mon Jun 26 18:53:43 2023 -0400 Use `env.es2018 = true` instead of `parserOptions.ecmaVersion = 2018` https://github.com/zotero/translators/commit/6bae3cf344e3213879fda975ab5db7c13093e4c4#r119545605 commit f5b02c1d Author: Sebastian Karcher <karcher@u.northwestern.edu> Date: Mon Jun 26 11:52:40 2023 -0400 Update datacite names & dataset handling (#3059) https://forums.zotero.org/discussion/105639/bad-name-handling-when-adding-zenodo-items-by-doi#latest
45fd9d15