(path)
| 201 | |
| 202 | |
| 203 | def reader(path): |
| 204 | with open(path, 'r') as f: |
| 205 | result = [line.rstrip( |
| 206 | '\n').encode('utf-8').decode('utf-8') for line in f] |
| 207 | return result |
| 208 | |
| 209 | def js_extractor(response): |
| 210 | """Extract js files from the response body""" |