Skip to content

Commit 38de787

Browse files
Merge pull request sigmavirus24#570 from DonnchaC/release-browser-download-url
Include browser_download_url attribute with Asset object
2 parents 5477506 + 717fe78 commit 38de787

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

github3/repos/release.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ def _update_attributes(self, asset):
195195
#: URL to download the asset.
196196
#: Request headers must include ``Accept: application/octet-stream``.
197197
self.download_url = self._api
198+
# User friendly download URL
199+
self.browser_download_url = asset.get('browser_download_url')
198200
#: GitHub id of the asset
199201
self.id = asset.get('id')
200202
#: Short description of the asset

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy