blob: eda27324e1753039591e6a74379120a5fb735c45 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from __future__ import print_function
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?
|