njsparser/examples/README.md

7 lines
No EOL
379 B
Markdown

# Examples:
- **[next_data.py](./next_data.py)**:
- Gets the content of `@id="__NEXT_DATA__"` script at https://www.lego.com/en-us/product/the-botanical-garden-21353.
- Prints the data about the product.
- **[flight_data.py](./flight_data.py)**:
- Gets the flight data at https://mediux.pro/user/r3draid3r04.
- Parses it and selects (based on types) the data of the user.