mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 15:03:17 +00:00
Correction in web scraping example.
This commit is contained in:
@@ -64,23 +64,26 @@ scrape:
|
|||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
1. Basic usage with default configuration:
|
1. Basic usage with default configuration:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rollup
|
rollup
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Use specific file types and enable verbose logging:
|
2. Use specific file types and enable verbose logging:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rollup --file-types=.go,.js,.py --verbose
|
rollup --file-types=.go,.js,.py --verbose
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Use a custom configuration file:
|
3. Use a custom configuration file:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rollup --config=my-config.yml
|
rollup --config=my-config.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Web scraping with content exclusion:
|
4. Web scraping with content exclusion:
|
||||||
```bash
|
```bash
|
||||||
rollup --url=https://example.com --css=.main-content --exclude-css=.ads,.sidebar
|
rollup web --url=https://example.com --css=.main-content --exclude-css=.ads,.sidebar
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|||||||
Reference in New Issue
Block a user