removed a test script

This commit is contained in:
asamihassan 2022-02-06 19:51:00 +05:00
parent 1ac3c11fcd
commit 7fd94932c7
2 changed files with 0 additions and 15 deletions

Binary file not shown.

View file

@ -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)