Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const regExps = {
- name: /<meta itemprop="name" content="(.+)">/,
- price: /<meta itemprop="price" content="(.+)">/,
- curr: /<meta itemprop="priceCurrency" content="(.+)">/,
- orders: /ordersCount":(\d+)/,
- q: /quantity":(\d+)/,
- brand: /<meta itemprop="brand" content="(.+)">/,
- rating: /<meta itemprop="ratingValue" content="(.+)">/,
- reviewCount: /<meta itemprop="reviewCount" content="(.+)">/,
- image: /<meta itemprop="image" content="(.+)"/
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement