Merged
Conversation
Added small program that allows to fetch content from websites. It allows to fetch a full website content, or just part of it thanks to the "selector" parameter. Also it allows to specify te format of output. Can be HTML or Markdown.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request introduces a new web content extraction tool called "nitrowebfetch" that allows users to fetch website content using CSS selectors and output it in HTML or Markdown format. The tool uses Playwright for web scraping and includes fallback selectors for improved compatibility.
- Implements a CLI tool for web content extraction with CSS selector support
- Adds package configuration for PyPI distribution
- Updates GitHub workflow to support publishing multiple packages
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Projects/Nitrowebfetch/src/run-nitrowebfetch-cli.py | Entry point script for the CLI application |
| Projects/Nitrowebfetch/src/nitrowebfetch_cli/main.py | Core implementation with argument parsing and web scraping logic |
| Projects/Nitrowebfetch/src/nitrowebfetch_cli/init.py | Package initialization with version and exports |
| Projects/Nitrowebfetch/setup.cfg | Package configuration for setuptools with dependencies |
| Projects/Nitrowebfetch/requirements.txt | Project dependencies specification |
| Projects/Nitrowebfetch/pyproject.toml | Build system configuration |
| Projects/Nitrowebfetch/README.md | Documentation with usage examples and installation instructions |
| Projects/Nitrowebfetch/MANIFEST.in | Package manifest for including documentation |
| .github/workflows/publish_package.yml | Updated workflow to support multiple package publishing |
| Projects/Testtrack/Skyline GTR - Text Classification/Text Classification.ipynb | Python version update in notebook metadata |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added small program that allows to fetch content from websites. It allows to fetch a full website content, or just part of it thanks to the "selector" parameter.
Also it allows to specify te format of output. Can be HTML or Markdown.