Repository navigation
Conversation
Member
|
Thank you for submitting the Scrapfly plugin. The latest validation runs found blocking issues in
Non-blocking warnings: Please rebuild the package with these fixes and push it so validation can run again. The latest PR Risk Label run also did not start successfully, so a new revision will need a successful |
HishamM1
marked this pull request as draft
December 4, 2026 08:59
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.
Plugin Submission
Plugin information
Submission type
What changed
New plugin for Scrapfly, a web scraping API. It adds two tools:
Both tools use the official Scrapfly Python SDK with the user's Scrapfly API key. When the URL points to a file (PDF, image), the scrape tool returns it as a blob with its real content type, and its JSON result says
format: binary,content_typeandsize. For text, the JSON holdsformat: text, thecontent_typeof the output and itslength.Risk level
The plugin only calls the documented Scrapfly API (
https://api.scrapfly.io), but the URL it scrapes comes from the user or the model, and Scrapfly fetches it through its proxies and browsers. That is arbitrary URL fetching, so I picked the higher level.Required checks
.envfiles,.gitdirectories, virtual environments, caches, logs, or IDE files.PRIVACY.mdor a hosted privacy policy, andmanifest.yamlreferences it.Security and privacy notes
https://api.scrapfly.io.secret-inputprovider credential, and the credential check rejects a missing or empty key. Errors come from the SDK, which masks the key in every message, and each error tells the user and the model what to do next (fix the key, check the plan, wait and retry, or retry with JavaScript rendering).PRIVACY.md.Local validation
Package contents: manifest, README, PRIVACY.md, icons,
main.py,provider/,tools/,pyproject.toml,requirements.txt(15 files, no tests, caches or binaries).The plugin repo runs the tests and the package build in CI on every push: https://github.com/scrapfly/scrapfly-dify-plugin/actions/runs/47306620278
Reviewer notes
The tool code was tested against the live Scrapfly API, but the plugin has not been installed in a Dify Community Edition or Dify Cloud workspace yet, so that box is unchecked.