asrch.py¶
Warning
This project has reached EOL and will probably not be updated.
Guides¶
Commands¶
Note
THIS WILL BE DEPRECATED AND REMOVED IN LATER RELEASES
commands.no_driver
will be the full replacement
Commands (no driver)¶
driverless mode
Other¶
Misc¶
ascli¶
asrch_ascli
is documented here <https://asrch.bitbucket.io/highlighter.html>.
Known Issues¶
[Small] Other language fonts break box widgets (ascli
)
fix: no idea
[Medium] HTML formatting breaks on certain pages and should have new lines (ascli
)
Changelog¶
7.9.0-beta1 (2024-08-08)
Added
🚧 Reworked cache system
💫 added new debug flag for browser mode which shows request info [3407c9c]
Improvements
💫 threaded the bar for faster loading [9c90204]
Config / packaging stuff
🔧 updated some config files [9326d54] [a389748] [606ac67] [adc0812]
Bug fixes
♻️ fixed bug in ascli preventing it from working [a403377]
7.8.1 (2024-07-28)
Added
🔧 Added some required files for PYPI
[7.5.0 - 7.8.0] (2024-07-28)
Added
💫 New feature: navigate cached pages [f851c10]
💫 Added new ctx manager for Alert.alert() [cba40a2]
💫 Added support for no color bars [413d555]
💫 Updated formatting for H1, H2, and H3 headers, and new main box [8d04741]
Documentation
📝 Comprehensive documentation update [b1ed320]
📝 Updated Sphinx documentation [fcd65d7]
📝 Added missing docs [a7f542c]
Bug Fixes
🐛 Fixed cache file path [3f640aa]
🐛 Fixed import bug [f0b99f6]
Refactoring
🎨 Combined if statement conditions [ba6c0ec]
🎨 Removed commented out code [066e166]
🎨 Removed useless OOP and imports [123e653, 92ea5e4, bf06d4d, 38c79fb, 3a6c3ff]
Miscellaneous
🔥 Deleted unnecessary files [d1c28f3, d7ada15, 12c9984]
🚧 Work in progress on new tabs and cache features [00df4ff, 32a21a1, 1942afe]
7.4.0 (6/20/2024)
Code Formatting
🎨 Formatted with black [0670946]
💫 Updated formatting [bfae281]
💫 New formatting for pages for better usage [77fb1c9]
🎨 Reformatted code for less nesting [27892ba]
Feature Additions
✨ New –browse flag for open text to turn your terminal into a full webbrowser!
💫 Added custom context manager for nodriver [d0a3988]
✨ Added basic implementation of new nodriver feature (HTML and Text support) [c10d956]
✨ Search now shows titles with links [9f174a1]
Configuration
🔧 Created 4 basic config files which will be implemented later [19820ef]
🚚 Created py.typed [40831f5]
Testing
✅ Added tests for current nodriver modules [12eeb88]
✅ Created and passing tests for find and send [d9f78af]
✅ Passing tests [a87cf6f]
Cleanup
🔥 Removed broken code that wasn’t needed [f3dc7db]
🔥 Deleted unused files [87c4765, c8058d5]
Others
📝 Updated docstrings and added support for new CLI formatting tool [4094a1a]
7.3.0 (2024-05-23)
Added
🎨 Fixed something, but not sure what [f06caae]
✅✨ Made 3 of the open commands in pure elisp and added tests [9a4cfa1]
🚚 Created testing files [c8496d0]
Changed
🎨 Removed unused argument [e9ecf6c]
📝 Updated docstring [55719f9]
✨ Updated find command implementation [50bc3c2]
🎨 Updated code for open command [ad65e15]
Fixed
🙈 Actually fixed emacs ignore bloat stuff [99d61ea]
🐛✨ Fixed duplicate results and command should be fully working [3d69e0a]
🐛 Fixed pyenv issue where requirements would install on system python (oops) [8c840df]
Miscellaneous
✨ Can now use any locator to find elements [0189899]
🥅 Added error handling and updated return visuals [11d0cfa]
📝 Fixed quote block [619e0c5]
🎨 Added reminder to fix code (lol) [1d6b9b0]
🎨 Fixed bad code and nested functions [9a05e70]
✨ Find element feature implemented [d168406]
🙈 Fixed function call for search [521336e]
📝 Updated CHANGELOG.md to correct format [274b34b]
📝 Updated CHANGELOG.md [05f6a52]
📝 Created basic documentation for asrch.el in ORG mode [8293878]
7.2.0 (2024-05-14)
Fixed
🐛✨ Fixed duplicate results and command should be fully working. [3d69e0a]
🐛 Fixed pyenv issue where requirements would install on system python. [8c840df]
Added
✨ Implemented functionality to print unique URLs without duplicates using a set in the loop. [3d69e0a]
📝 Created basic documentation for asrch.el in ORG mode. [8293878]
📝 Created gitmoji changelog. [290c867]
Changed
🎨 Updated search method for log flag. [70857b1], [186bd49]
📝 Updated docstring for open and search functions for the –log flag. [ee33f1b]
Removed
🔥 Deleted. [bcd7e65]
🔥 Removed temp code replaced with a … to avoid dumb errors. [70f0ddf]
Miscellaneous
🎨 Fixed argument positions. [e1e6e2f]
🐛 Fixed pyvenv big and updated asrch-search. [ae9b1e9]
TODO¶
Todo
7.9.0b1 -> 7.9.0dev1
finish cache
asrch
fix navigation from cached return
fix unformatted cache output
fix / implement history and navigation
asrch
exception handling for dropped connections
requests
asrch
push fixed version to pypi
asrch
asrch_ascli