Skip to content

Commit

Permalink
chore: skip linting incomplete JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Sep 13, 2024
1 parent 486327b commit 20ab088
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def parse_product(product):

In the code above we've also already added the URL to the dictionary returned by the function. If we run the scraper now, it should produce exports where each product contains also a link to its product page:

<!-- eslint-skip -->
```json
[
{
Expand Down Expand Up @@ -275,6 +276,7 @@ data = [parse_product(product, listing_url) for product in soup.select(".product

When we run the scraper now, we should see full URLs in our exports:

<!-- eslint-skip -->
```json
[
{
Expand Down

0 comments on commit 20ab088

Please sign in to comment.