removed a test script
This commit is contained in:
parent
1ac3c11fcd
commit
7fd94932c7
2 changed files with 0 additions and 15 deletions
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
|
@ -1,15 +0,0 @@
|
|||
from socket import timeout
|
||||
from time import sleep
|
||||
from requests_html import HTMLSession
|
||||
session = HTMLSession()
|
||||
headers = {
|
||||
'user-agent':'Mozilla/5.0',
|
||||
'x-requested-with': 'XMLHttpRequest'
|
||||
}
|
||||
r = session.get('https://hub.docker.com/r/vectorim/element-web/tags',headers=headers,timeout=300)
|
||||
r.html.render(sleep=1,keep_page=True,scrolldown=1)
|
||||
|
||||
tags = r.html.search('data-testid="navToImage"')
|
||||
|
||||
print(tags)
|
||||
print(tags[0].text)
|
Loading…
Reference in a new issue