@crawlee/utils
Advanced tools
Comparing version 3.0.0-alpha.42 to 3.0.0-alpha.43
@@ -170,9 +170,8 @@ "use strict"; | ||
// eslint-disable-next-line max-len | ||
// eslint-disable-next-line max-len, quotes | ||
const YOUTUBE_REGEX_STRING = '(?<!\\w)(?:https?:\\/\\/)?(?:youtu\\.be\\/|(?:www\\.|m\\.)?youtube\\.com(?:\\/(?:watch|v|embed|user|c(?:hannel)?)(?:\\.php)?)?(?:\\?[^ ]*v=|\\/))([a-zA-Z0-9\\-_]{2,100})'; | ||
// eslint-disable-next-line max-len, quotes | ||
// eslint-disable-next-line max-len | ||
const TIKTOK_REGEX_STRING = '(?<!\\w)(?:http(?:s)?:\\/\\/)?(?:(?:www|m)\\.)?(?:tiktok\\.com)\\/(((?:(?:v|embed|trending)(?:\\?shareId=|\\/))[0-9]{2,50}(?![0-9]))|(?:@)[a-z0-9\\-_\\.]+((?:\\/video\\/)[0-9]{2,50}(?![0-9]))?)(?:\\/)?'; | ||
// eslint-disable-next-line max-len, quotes | ||
// eslint-disable-next-line max-len | ||
const PINTEREST_REGEX_STRING = '(?<!\\w)(?:http(?:s)?:\\/\\/)?(?:(?:(?:(?:www\\.)?pinterest(?:\\.com|(?:\\.[a-z]{2}){1,2}))|(?:[a-z]{2})\\.pinterest\\.com)(?:\\/))((pin\\/[0-9]{2,50})|((?!pin)[a-z0-9\\-_\\.]+(\\/[a-z0-9\\-_\\.]+)?))(?:\\/)?'; | ||
// eslint-disable-next-line max-len, quotes | ||
// eslint-disable-next-line max-len | ||
const DISCORD_REGEX_STRING = '(?<!\\w)(?:https?:\\/\\/)?(?:www\\.)?((?:(?:(?:canary|ptb).)?(?:discord|discordapp)\\.com\\/channels(?:\\/)[0-9]{2,50}(\\/[0-9]{2,50})*)|(?:(?:(?:canary|ptb).)?(?:discord\\.(?:com|me|li|gg|io)|discordapp\\.com)(?:\\/invite)?)\\/(?!channels)[a-z0-9\\-_]{2,50})(?:\\/)?'; | ||
@@ -179,0 +178,0 @@ /** |
{ | ||
"name": "@crawlee/utils", | ||
"version": "3.0.0-alpha.42", | ||
"version": "3.0.0-alpha.43", | ||
"description": "A set of shared utilities that can be used by crawlers", | ||
@@ -53,4 +53,4 @@ "engines": { | ||
"ow": "^0.28.1", | ||
"tslib": "^2.3.1" | ||
"tslib": "^2.4.0" | ||
} | ||
} |
@@ -21,2 +21,4 @@ # Crawlee: The scalable web crawling and scraping library for JavaScript | ||
> Would you like to work with us on Apify SDK or similar projects? [We are hiring!](https://apify.com/jobs#senior-node.js-engineer) | ||
## Motivation | ||
@@ -23,0 +25,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182493
217
1804
Updatedtslib@^2.4.0