-
Mvolz authored
Update to translators including a bug fix for the Emdedded Metadata translator. Squashed commit of the following: commit 06fed1df88a93571c5956b9a6f0b0d02e4093bbc 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 c86fe6b0adf5d0bb23552a82fdea719668d37d12 Author: Pascal Quach <20374810+quachpas@users.noreply.github.com> Date: Sun Aug 6 23:11:27 2023 +0200 Add Optimization Online translator (#3042) commit 7fc02305efd0561ad4b47b99d4b0dd1adc58a906 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 1590d0189090def3c3d7efaa0223eeadf5b583a9 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 3f7531774d69ff249177353c8d15ea1c67453363 Author: Dan Stillman <dstillman@zotero.org> Date: Fri Aug 4 01:04:23 2023 -0400 Airiti: Remove search flag Follow-up to c9784da1151 commit ca1b311eb0ac86ef69117edb99c3055ee372a4d0 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 b68ed1291296e70f12bd12fb80ca183386c52ea1 Author: Justin Warren <justin@eigenmagic.com> Date: Thu Aug 3 22:39:13 2023 +1000 AustLII translator updates (#2882) commit 2b08a392f7151900621a8f1b370ee138261d076f Author: hackbunny <7533668+hackbunny@users.noreply.github.com> Date: Thu Aug 3 04:49:42 2023 +0200 Twitter: Update title regex (#3092) commit 756ce0791c443f2b40552d2c136b2bcf4950a067 Author: Sebastian Karcher <karcher@u.northwestern.edu> Date: Wed Aug 2 08:34:29 2023 +0200 MathSciNet Update for new site (#3072) commit c9784da115114d63d0c1af6aa55d564c7f3fb617 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 bb8c02b5fcf3796b12944370384fa5ef5d554681 Author: Dan Stillman <dstillman@zotero.org> Date: Mon Jul 31 17:04:31 2023 -0400 Airiti: Remove search translation Closes #3088 commit fc532cd1a820e57980cf274bc2713f564856593d 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 b5180b58477106605ff8411209cbb58b55cd3240 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 cc7c3c75a068aab2c2aa087f3ecbc72cf8eb72d4 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 80c211d1a3 commit 4c8a8d0a68169b3f65ddfddcc7e690a73954a7e4 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 d68b0aae3301255afad5fb68ec80f3e51940361f Author: Brendan O'Connell <68507084+brendan-oconnell@users.noreply.github.com> Date: Thu Jul 13 21:13:56 2023 +0200 Add Perlego (#3017) commit 28f344cdb60bc670abb66c94fd61f2f7a1ef5a72 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 edde70110f8bff8a69480f9cbc1e544851f25b74 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 4e6d3d7d61978c93e07412e26c0130635bad6427 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 1a1feeaf12ae5da78ff3d154821a6a37bea106d4 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 80c211d1a3d8867ad3fd13a9ab31f3d9ad76bb7d Author: zoe-translates <zoe.ma@pm.me> Date: Fri Jul 7 05:12:37 2023 +0800 WoS Tagged: Reimplement the core algorithms. (#3062) commit 9ef7130eee11a0a719807a8192af348ca84d1791 Author: Dan Stillman <dstillman@zotero.org> Date: Thu Jul 6 08:35:03 2023 -0400 Fix broken imports in <6.0.26 Broken by f5b02c1df (#3059) commit 410138cd4a4601203d9060270036faee7f60ecd7 Author: advoropaev <90554351+advoropaev@users.noreply.github.com> Date: Thu Jul 6 09:00:30 2023 +0300 eLibrary pages issue (#3026) commit a23964050f57bfd8ea53884a6b739a511d063e7d 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 aa7d6a2b685e10db744fa5641f2d662a027cf880 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 00413e20f5ef49a03c7956ab6d5707fc9ccb6733 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 f5b02c1df439c20e0da2287a61adcdfce6f72bdb 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