Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5932

Beginners • Re: urllib API 403 error on Raspberry Pi4B, not on Anaconda Windows or Red Hat Linux

$
0
0
Running that script on a Pi4B Bullseye works OK for me:

Code:

pi@pi:~/scripts $ python u.py200
Python 3.9.2
And if we we urlparse it we get

Code:

pi@pi:~/scripts $ python u2.py200ParseResult(scheme='https', netloc='xmplaylist.com', path='/api/station/holidaytraditions', params='', query='', fragment='')

Statistics: Posted by neilgl — Sun Dec 29, 2024 11:43 am



Viewing all articles
Browse latest Browse all 5932

Trending Articles