Re: fetching files with javascript Quoth Karen Lewellen: 'If your lynx install has an associated
Karen Lewellen <[email protected]>
| Newsgroups | gmane.comp.web.lynx.devel |
|---|---|
| Message-ID | <[email protected]> |
Sorry, this should be on list. On Tue, 18 Aug 2026, Karen Lewellen wrote: > I have a feeling something is being lost in translation. > Given I am using a screen reader, and the command for cleaning a field takes > less then 2 seconds to type, we may not be discussing the same kinds of > editors. > Can only share what works for me, with my respecting that Lynx > configurations and builds vary from person to person. > Still, speaking personally, my associated editor, pico at shellworld. nano > elsewhere make the clearing of a field magical. > Actually i can do the same in links the chain and elinks, so the command may > be tied to something different. > > Kare > > > > On Tue, 18 Aug 2026, rbell--- via Lynx-dev wrote: > >> editor, then when on the file name line, execute its equal for cutting >> text.' >> That takes time. I want to turn >> 20260816_wesun_politics_chat_democrats_take_lessons_from_the_primaries_set_2028_calendar.mp3?t=progseg&e=nx-s1-5878183&p=10&seg=0&d=287&size=4600938&sc=siteplayer&aw_0_1st.playerid=siteplayer >> into >> 20260816_wesun_politics_chat_democrats_take_lessons_from_the_primaries_set_2028_calendar.mp3 >> ctrl-u clears the field then I have to enter something. I >> could mark >> 20260816_wesun_politics_chat_democrats_take_lessons_from_the_primaries_set_2028_calendar.mp3 >> with gpm then paste that in, but that's work. I don't want to enter >> text of my choice, such as 'politicschat.mp3' because that doesn't >> correlate with the original file. >> I listen to NPR shows by running a script that fetches every >> segment of the current episode. That script truncates the file name >> before it downloads them. I listen by running a different script that >> plays the files listed in the page of the current episode in order. I >> do the same for 'Marketplace'. Retaining the name makes it easier to >> correlate a segment with its page. >> >> Quoth Chime Hart: 'I think the scripting option would be in >> cleaning up a directory of files with those extra symbols.' >> Yes. If I didn't run a script to fetch all of the segments of >> a show I would just download the ones I want without editing the file >> names as I went. Then I would run the script to fix them up. I do >> this with my local paper, the 'Albuquerque Journal'. Its URIs look >> like: >> https://www.abqjournal.com/news/nonprofit-fights-for-mental-health-services-for-first-responders/3097204 >> - the last part is an opaque number, the previous a descriptive title. >> I download the files I want, run a script that picks out the >> descriptive title for the file name - and also appends .html so lynx >> renders them thusly. >> BTW one of the great things about lynx is that it saves files >> as the last non-empty entry in the URI, even if a / ends it. The >> other browsers I have used make up nonsense strings. Why they all >> don't - I don't know. Has lynx patented it? >> >> Quoth Chime Hart: 'Maybe s similar strategy could be imployed >> for items downloaded from youtube.' >> I do that. I'll share my script if you like. >> >> russell bell >> >> >