asrch.commands._open package¶
Usage examples¶
Open Command Usage Examples
Open text from URL:
$ asrch open text --url https://scrapethissite.com/simple/pages Output: [body text of the specified URL]
Browser mode (new in 7.4.0):
$ asrch open text --browse https://srapethissite.com/simple/pages Output: [example] >>> Body text [body text example] [page text example last line] >>> (1) https://example.com/page1, (2) https://example.com/page2, (3) https://example.com/page3, >>> [q]uit, [h]istory ([<] back in history 1) or Enter page number: 3 [q]: quit program [h]: navigate through your session history, e.g., h1 (first element in history), h2 (second element), h3 (third) <: go to last opened page in history Enter page number: go to new page from output above >>> [q]uit, [h]istory ([<] back in history 1) or Enter page number: 3 >>> Navigating to https://example.com/page3