unprint 0.11.4 → 0.11.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/app.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unprint",
3
- "version": "0.11.4",
3
+ "version": "0.11.5",
4
4
  "description": "Simplify common web scraping tasks while staying in control of the data.",
5
5
  "main": "src/app.js",
6
6
  "scripts": {
package/src/app.js CHANGED
@@ -530,7 +530,7 @@ function queryStyles(context, selector, customOptions) {
530
530
  return elStyles.filter(Boolean);
531
531
  }
532
532
 
533
- function queryVideo(context, selector = 'source', customOptions) {
533
+ function queryVideo(context, selector = 'video source', customOptions) {
534
534
  const options = {
535
535
  ...context.options,
536
536
  attribute: 'src',
@@ -543,7 +543,7 @@ function queryVideo(context, selector = 'source', customOptions) {
543
543
  return prefixUrl(videoUrl, options.origin, options);
544
544
  }
545
545
 
546
- function queryVideos(context, selector = 'source', customOptions) {
546
+ function queryVideos(context, selector = 'video source', customOptions) {
547
547
  const options = {
548
548
  ...context.options,
549
549
  attribute: 'src',