blob: 6b91c1fd1ff57d5e3801d74c13ee23af1f965401 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import re
import requests
from lxml.html import parse
def check_navigation(args_obj, parser):
print("")
print("Checking navigation.")
host = args_obj.host
url = host + "/show_trait?trait_id=1435395_s_at&dataset=HC_M2_0606_P"
print("URL: ", url)
page = requests.get(url)
# Page is built by the javascript, hence using requests fails for this.
# Investigate use of selenium maybe?
|