Answer the question
In order to leave comments, you need to log in
Pasing - Gives 503 error, how to access the site?
Good afternoon!
I use requests and beautifulsoap.
Can't get to the site https://www.playerup.com , gives error 503. Fake useragent didn't help, tried inserting my ua, delay, asking through Tor, doesn't help. Always issues either 503 or 400, etc. At the entrance there is a browser check, can you tell me how to solve the problem?
import requests
from bs4 import BeautifulSoup
import csv
def get_html(url):
r = requests.get(url)
if r.ok: # 200 ## 403 404
return r.text
print(r.status_code)
def get_page_data(html):
pass
def main():
pattern = 'https://www.playerup.com'
for i in range(0, 5):
url = pattern.format(str(i))
get_page_data(get_html(url))
if __name__ == '__main__':
main()
Answer the question
In order to leave comments, you need to log in
We are providing the best usa uk verified linkedin accounts at the very cheap price.
this site: Buy Linkedin Connections
Buy Facebook Accounts
Buy Linkdin Accounts
Buy Google Reviews
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question