Just a sample of the Echomail archive
[ << oldest | < older | list | newer > | newest >> ]
|  Message 67  |
|  Charles Pierson to Wilfred van Velzen  |
|  Error message  |
|  05 Feb 21 21:57:12  |
 
TID: Mystic BBS 1.12 A46
MSGID: 1:106/127 f743b3e8
TZUTC: -0600
On 05 Feb 2021, Wilfred van Velzen said the following...
Wv> CP> python scraping.py
Wv> CP> File "scraping.py", line 5
Wv> CP> def
Wv> CP> hackernews_rss('https://news.ycombinator.com/rss'):
Wv> CP> ^
Wv> CP> SyntaxError: invalid
Wv> CP> syntax
Wv>
Wv>
Wv>
Wv> CP> The code is:
Wv>
Wv> CP> # scraping function
Wv> CP> def hackernews_rss('https://news.ycombinator.com/rss'):
Wv>
Wv> There should be a variable there between the (), not a constant in this
Wv> function definition.
Ah, so my source is wrong.
Wv> CP> try:
Wv> CP> r = requests.get()
Wv>
Wv> Is 'requests' defined of set somewhere? I don't see it.
I'm going through the steps as they were laid out. I was hoping that going
through the steps of sonething that says it works would help me pick it up
better.Apparently this was a poor choice.
--- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
* Origin: theoasisbbs.ddns.net:1357
SEEN-BY: 1/123 90/1 105/81 106/127 120/340 123/131 124/5016 153/757
SEEN-BY: 203/0 221/1 6 360 226/30 227/114 702 229/424 426 616 664
SEEN-BY: 229/1016 1017 230/0 240/5411 5824 5832 5853 249/206 317 400
SEEN-BY: 280/464 5003 288/100 292/8125 322/757 335/364 342/200 423/81
SEEN-BY: 423/120 712/848 770/1 2452/250 4500/1
PATH: 106/127 221/6 1 280/464 240/5832 229/426
|
[ << oldest | < older | list | newer > | newest >> ]