@metascraper/helpers 5.45.10 → 5.45.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.js +0 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -19,4 +19,4 @@ $ npm install @metascraper/helpers --save
|
|
|
19
19
|
**metascraper-helpers** © [Microlink](https://microlink.io), released under the [MIT](https://github.com/microlinkhq/metascraper/blob/master/LICENSE.md) License.<br>
|
|
20
20
|
Authored and maintained by [Microlink](https://microlink.io) with help from [contributors](https://github.com/microlinkhq/metascraper/contributors).
|
|
21
21
|
|
|
22
|
-
> [microlink.io](https://microlink.io) · GitHub [microlinkhq](https://github.com/microlinkhq) ·
|
|
22
|
+
> [microlink.io](https://microlink.io) · GitHub [microlinkhq](https://github.com/microlinkhq) · X [@microlinkhq](https://x.com/microlinkhq)
|
package/index.js
CHANGED
|
@@ -174,10 +174,6 @@ const titleize = (src, opts = {}) => {
|
|
|
174
174
|
return title
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
const $twitter = ($, selector) =>
|
|
178
|
-
$(`meta[name="${selector}"]`).attr('content') ||
|
|
179
|
-
$(`meta[property="${selector}"]`).attr('content')
|
|
180
|
-
|
|
181
177
|
const $filter = ($, matchedEl, fn = $filter.fn) => {
|
|
182
178
|
let matched
|
|
183
179
|
|
|
@@ -496,7 +492,6 @@ const getUrls = input => String(input).match(urlRegexForMatch) ?? []
|
|
|
496
492
|
module.exports = {
|
|
497
493
|
$filter,
|
|
498
494
|
$jsonld,
|
|
499
|
-
$twitter,
|
|
500
495
|
absoluteUrl,
|
|
501
496
|
audio,
|
|
502
497
|
audioExtensions,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@metascraper/helpers",
|
|
3
3
|
"description": "Collection of helper functions used by metascraper",
|
|
4
4
|
"homepage": "https://github.com/microlinkhq/metascraper/packages/metascraper-helpers",
|
|
5
|
-
"version": "5.45.
|
|
5
|
+
"version": "5.45.25",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"author": {
|
|
8
8
|
"email": "hello@microlink.io",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "50363a681cb279e659c1b4ee6d30319d9d9c297f"
|
|
67
67
|
}
|