@@ -78,14 +78,19 @@ def download_files(self):
7878
7979class FontAwesomeDownloader (IconFontDownloader ):
8080 """
81- Font Awesome icon font downloader
81+ Font Awesome icon font downloader.
82+
8283 Project page:
8384 https://fortawesome.github.io/Font-Awesome/
8485 """
85- css_url = ('https://raw.githubusercontent.com/FortAwesome/'
86- 'Font-Awesome/master/css/font-awesome.css' )
87- ttf_url = ('https://raw.githubusercontent.com/FortAwesome/'
88- 'Font-Awesome/master/fonts/fontawesome-webfont.ttf' )
86+ css_url = (
87+ 'https://cdn.rawgit.com/FortAwesome/Font-Awesome/'
88+ 'master/css/font-awesome.css'
89+ )
90+ ttf_url = (
91+ 'https://cdn.rawgit.com/FortAwesome/Font-Awesome/'
92+ 'master/fonts/fontawesome-webfont.ttf'
93+ )
8994
9095 def get_latest_version_number (self ):
9196 return self ._get_latest_tag_from_github (
@@ -95,14 +100,22 @@ def get_latest_version_number(self):
95100
96101class OcticonsDownloader (IconFontDownloader ):
97102 """
98- Octicons icon font downloader
103+ Octicons icon font downloader.
104+
105+ They unfortunately deleted compiled files from their GitHub repo, so let's
106+ get them via CDN fow now.
107+
99108 Project page:
100109 https://octicons.github.com/
101110 """
102- css_url = ('https://raw.githubusercontent.com/primer/'
103- 'octicons/master/build/font/octicons.css' )
104- ttf_url = ('https://raw.githubusercontent.com/primer/'
105- 'octicons/master/build/font/octicons.ttf' )
111+ css_url = (
112+ 'https://cdnjs.cloudflare.com/ajax/libs/'
113+ 'octicons/4.4.0/font/octicons.css'
114+ )
115+ ttf_url = (
116+ 'https://cdnjs.cloudflare.com/ajax/libs/'
117+ 'octicons/4.4.0/font/octicons.ttf'
118+ )
106119
107120 def get_latest_version_number (self ):
108121 return self ._get_latest_tag_from_github (
0 commit comments