Completed
Push — master ( 4de6c0...c13be7 )
by Asif
59s
created

scrape()   A

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
cc 1
dl 0
loc 3
rs 10
c 2
b 0
f 1
1
import requests
2
3
4
def scrape(url, **kwargs):
5
    resp = requests.get(url, params=kwargs)
6
    return resp.text
7
8
9
def scrape_helper(args):
10
    return scrape(args[0], **args[1])
11