Perl: the Markov chain saw | |
PerlMonks |
Re^2: downloading a file on a page with javascriptby Aldebaran (Curate) |
on Apr 06, 2020 at 22:38 UTC ( [id://11115146]=note: print w/replies, xml ) | Need Help?? |
Where did you find the URL?
I cobbled it together together from the base url and the file I wanted. If I point my mouse on the file and save the link,I get the same thing. What I realize from your and bliako's post is that I underused the power of the browser to figure this out. Using this URL instead of the one you used also stores a list of words to the output file, which I guess is the output you had expected.Thx, choroba, that is indeed what I seek for my wordgames. With the correct url, my script gets the english dictionary. I decided to try it out with an older source post of yours: Re^7: Words in Words. "Correct" entries are words that have a properly-encompassing word. A hybrid is this: Source:
Logophiles like me play gladly with such output. I speak english natively, so I'm rarely challenged with english vocabulary. The resulting list is fascinating:
Who knew that there were 4 different consciouses? I couldn't find an example that failed to have a larger including word. Anyways, thanks for your comment that got me on the right track and also for the fun of replicating your "words within words" script. "Perl scripting: great for pandemics...."
In Section
Seekers of Perl Wisdom
|
|