outside-edge / python-espncricinfo

Python wrapper for the ESPNCricInfo JSON API
MIT License
146 stars 64 forks source link

[BUG] All URL's returned needs to be http (currently https) #43

Closed prasanna-sk closed 3 years ago

prasanna-sk commented 3 years ago

Describe the bug The url returned by the Match().details_url method has https. The link only works with http.

To Reproduce

>>> from espncricinfo.match import Match
>>> m = Match('1175356')
>>> m.details_url
'https://core.espnuk.org/v2/sports/cricket/leagues/8048/events/1175356/competitions/1175356/details?page_size=1000&page=1'

Expected behavior

>>> m.details_url
'http://core.espnuk.org/v2/sports/cricket/leagues/8048/events/1175356/competitions/1175356/details?page_size=1000&page=1'
dwillis commented 3 years ago

@prasanna-sk thanks! That's fixed now.