Working with site without API using python

69 Views Asked by At

I want to work with site using python, but this site hasn't API

What can I do? I'm beginner in python, and i don't know how can I do this Maybe I need to use python library "request"? I really want to do this, but I don't know how

1

There are 1 best solutions below

0
On BEST ANSWER

You can use requests library to get html pages content.

  1. Install
pip install requests
  1. Example usage
import requests

example = requests.get("htpps://example.url")
print(example)
# You will receive html content