diff -urN PyWaffle.orig/pywaffle/scripts/get_fontawesome.py PyWaffle-0857baee54a6f4aae4cc8ac7bd2618f6a3e142ab/pywaffle/scripts/get_fontawesome.py
--- PyWaffle.orig/pywaffle/scripts/get_fontawesome.py	2021-07-28 10:49:15.000000000 -0400
+++ PyWaffle-0857baee54a6f4aae4cc8ac7bd2618f6a3e142ab/pywaffle/scripts/get_fontawesome.py	2021-12-16 19:08:22.162406711 -0500
@@ -5,15 +5,14 @@
 # The font files in folder font need to be updated manually when updating FontAwesome
 
 import json
-import requests
 
 INDENT = " " * 4
-VERSION = "5.5.0"
-URI = "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/advanced-options/metadata/icons.json"
+FILE = "/usr/share/fontawesome5/metadata/icons.json"
 
 
 def main():
-    icons = json.loads(requests.get(URI).text)
+    with open(FILE) as file:
+        icons = json.load(file)
 
     # Group icons by style
     mapping = {}
@@ -25,8 +24,7 @@
             mapping[style_name][k] = chr(int(v["unicode"], 16))
 
     with open("pywaffle/fontawesome_mapping.py", "w") as file:
-        file.write("# This file belongs to Font Awesome, see license https://fontawesome.com/license/\n")
-        file.write("# Font Awesome version: {0}\n".format(VERSION))
+        file.write("# This file automatically generated from {0}\n".format(FILE))
         file.write("\n")
         file.write("icons = ")
         file.write(json.dumps(mapping, indent=4))
