usage of requests_html instead of requests
This commit is contained in:
parent
760775c604
commit
9046bee352
2 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## Pré-requis
|
## Pré-requis
|
||||||
```
|
```
|
||||||
|
requests-html==0.10.0
|
||||||
bs4==4.10.0
|
bs4==4.10.0
|
||||||
```
|
```
|
||||||
## Utilisation
|
## Utilisation
|
||||||
|
|
2
main.py
2
main.py
|
@ -1,5 +1,5 @@
|
||||||
from sys import argv
|
from sys import argv
|
||||||
from requests import Session
|
from requests_html import BaseSession as Session
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
|
|
||||||
class Universite:
|
class Universite:
|
||||||
|
|
Reference in a new issue