Skip to content

Commit 85250f8

Browse files
authored
Merge pull request #6 from capjamesg/patch-2
Update user agent used by the parser
2 parents 6c02e73 + c132679 commit 85250f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
app = Flask(__name__)
1111

12-
mf2py.Parser.user_agent = 'mf2.kylewm.com (mf2py v' + mf2py.__version__ + ')'
12+
mf2py.Parser.user_agent = "python.microformats.io (mf2py/" + mf2py.__version__ + ") Mozilla/5.0 Chrome/29.0.1547.57 Safari/537.36"
1313
mf2py.Parser.dict_class = collections.OrderedDict
1414

1515
@app.route('/', methods=['GET', 'POST'])

0 commit comments

Comments
 (0)