erunion / showtimes

[deprecated] a movie showtimes API
MIT License
52 stars 14 forks source link

Theater id not being parsed from cloaked URL properly #43

Closed jmathai closed 8 years ago

jmathai commented 8 years ago

The following line always returns false.

        cloakedUrl = qs.parse(url.parse(cloakedUrl))

We need to parse the query attribute of the hash returned by url.parse.

        cloakedUrl = qs.parse(url.parse(cloakedUrl).query)
erunion commented 8 years ago

Hey! Can you submit a PR for this? Looks like you already fixed it in your fork.

erunion commented 8 years ago

Nevermind, just saw your PR!

erunion commented 8 years ago

Merged your PR. Thanks for the fix!