This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Converts Internet Explorer 'capture network traffic' XML to a HAR file. | |
Turns out that XML is just a HAR file anyways, but in XML form. So this | |
just converts it to JSON, and Bob's your uncle. | |
Requires Python 2.7+ and LXML. | |
""" | |
from __future__ import unicode_literals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"termsAndConditions": [ | |
{ | |
"linkText": "App Text One", | |
"linkUrl": "https://appOne.com" | |
}, | |
{ | |
"linkText": "App Text Two", | |
"linkUrl": "https://appTwo.com" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"termsAndConditions": [] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"termsAndConditions": [ | |
{ | |
"linkText": "App Text One", | |
"linkUrl": "https://appOne.com" | |
}, | |
{ | |
"linkText": "App Text Two", | |
"linkUrl": "https://appTwo.com" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"termsAndConditions": [ | |
{ | |
"linkText": "App Text One", | |
"linkUrl": "https://appOne.com" | |
}, | |
{ | |
"linkText": "App Text Two", | |
"linkUrl": "https://appTwo.com" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"termsAndConditions": [ | |
{ | |
"linkText": "App Text One", | |
"linkUrl": "https://appOne.com" | |
}, | |
{ | |
"linkText": "App Text Two", | |
"linkUrl": "https://appTwo.com" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"termsAndConditions": [ | |
{ | |
"linkText": "App Text One", | |
"linkUrl": "https://appOne.com" | |
}, | |
{ | |
"linkText": "App Text Two", | |
"linkUrl": "https://appTwo.com" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{} |