This file contains hidden or 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 python3 | |
| """ | |
| Figures out which CDNs were involved in a webpage fetch given HAR file. | |
| Requires dnspython | |
| Borrows heavily from https://github.com/turbobytes/cdnfinder | |
| Thank you to cdnplanet.com | |
| Usage: ./get_cdn.py -f har-file | |
| Or you could just import the get_cdn function |