File tree 3 files changed +4
-15
lines changed
3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,10 @@ language: python
3
3
sudo : false
4
4
5
5
python :
6
- - 2.7
7
6
- 3.6
8
7
- 3.5
9
8
- 3.4
10
9
- pypy3
11
- - pypy
12
10
13
11
# whitelist
14
12
# gh-pages is otherwise ignored by Travis CI
Original file line number Diff line number Diff line change 4
4
Scrape https://memberguide.gpo.gov and
5
5
save members' photos named after their Bioguide IDs.
6
6
"""
7
- from __future__ import print_function , unicode_literals
8
7
import argparse
9
8
import datetime
9
+ import json
10
10
import os
11
11
import re
12
12
import sys
13
- import json
14
13
import time
15
- try :
16
- # Python 3
17
- from urllib .error import HTTPError
18
- from urllib .parse import urlencode
19
- from urllib .request import urlretrieve
20
- except ImportError :
21
- # Python 2
22
- from urllib import urlretrieve
23
- from urllib2 import HTTPError
24
- from urllib import urlencode
14
+ from urllib .error import HTTPError
15
+ from urllib .parse import urlencode
16
+ from urllib .request import urlretrieve
25
17
26
18
# pip install -r requirements.txt
27
19
import mechanicalsoup
Original file line number Diff line number Diff line change 3
3
"""
4
4
Find missing images.
5
5
"""
6
- from __future__ import print_function
7
6
import os
8
7
9
8
# pip install -r requirements.txt
You can’t perform that action at this time.
0 commit comments