Nп/п : 13 из 56
От : Jay Harris 1:229/664 03 июл 24 06:33:04
К : Daniel 03 июл 24 13:35:01
Тема : Re: Opinions on a door idea
----------------------------------------------------------------------------------
@MSGID: 1:229/664 3c366390
@REPLY: <87h6d7y4ri.fsf@raspberrypi> 67a75d5c
@TZUTC: -0400
@TID: hpt/lnx 1.9 2024-03-02
On 02 Jul 2024, Daniel said the following...
Da> If I attempt accessing it with lynx, I get this generic error:
Da>
Da> "Due to aggressive automated scraping of FederalRegister.gov and
Da> eCFR.gov, programmatic access to these sites is limited to access to our
Da> extensive developer APIs."
Da>
Da> I don`t get this message on a normal javascript enabled browser. I
Da> surmise it views queries from non-javascript browsers as a curl-like
Da> command.
I don`t know if you can change the user agent in lynx, but try
and see if it works with curl.
e.g:
agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101
Firefox/127.0"
curl -A "$agent"
I`ve had to do this in the past when pulling information for weather, they
stopped allowing curl, but simply changing the user agent allowed it to work.
Jay
... Modem: What landscapers do to dem lawns
--- Mystic BBS v1.12 A49 2024/05/29 (Linux/64)
* Origin: Northern Realms (1:229/664)
SEEN-BY: 1/120 18/0 50/109 116/116 120/616 123/0
10 25 180 200 525 755 1185
SEEN-BY: 123/3001 129/215 135/115 153/757 7715
154/10 30 50 700 218/840 220/6
SEEN-BY: 220/90 221/1 6 360 222/2 226/50 70
229/310 426 664 240/1120 250/1
SEEN-BY: 275/1000 280/464 292/854 301/1 335/364
341/66 234 467/888 712/1321
SEEN-BY: 770/1 2320/105 3634/0 12 27 56 57 58
119 5000/111 5001/100 5005/49
SEEN-BY: 5019/40 5020/329 715 830 848 1042 4441
12000 5030/49 1081 5053/51
SEEN-BY: 5054/8 5058/104 5061/133 5075/128 5083/1
444
@PATH: 229/664 221/6 154/10 3634/12 5020/1042
4441