Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Canada DMA targeting #8

wants to merge 1 commit into


None yet
1 participant

doubleyou commented Nov 9, 2012

See this: http://en.wikipedia.org/wiki/List_of_television_stations_in_North_America_by_media_market

This is an incomplete list, actually. I could find a handful of IPs that don't match any of the listed cities. Moreover, sometimes egeoip:lookup/1 returns just coordinates, without a city name or zip code.

Anyway, that's much better than nothing, allows us to target the majority of the country. In case of non-existing city we just return 0 as a DMA code.

@doubleyou doubleyou closed this Apr 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment