yoheinakajima / instagraph

Converts text input or URL into knowledge graph and displays
MIT License
3.27k stars 281 forks source link

support scrape_text_from_url #68

Closed isamu closed 10 months ago

isamu commented 10 months ago

Summary by CodeRabbit

coderabbitai[bot] commented 10 months ago

Walkthrough

The changes primarily focus on enhancing user input handling in main.py and removing an unused dependency (networkx) from requirements.txt. The code now supports URL inputs, extracting text for further processing, and has reduced dependencies, improving maintainability.

Changes

File Summary
main.py Enhanced to handle user input that starts with "http". The networkx import statement has been removed.
requirements.txt The networkx package has been removed, indicating it's no longer a dependency.

🐇

"In the land of code, where the shadows lie,

We removed a package, with a satisfied sigh.

Now URLs we handle, with a keen eye,

Making our code, as light as a butterfly. 🦋"


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume. - Additionally, enter `@coderabbitai pause` to halt the bot's ongoing reviews as any issue or review comment. To resume reviews, enter `@coderabbitai resume` as any issue or review comment.