def _build_url(self, shorten=True):
url_order = self._get_url_params(shorten=shorten)<EOL>if self.category != '<STR_LIT>':<EOL><INDENT>url_order[<NUM_LIT:1>], url_order[<NUM_LIT:2>] = url_order[<NUM_LIT:2>], url_order[<NUM_LIT:1>]<EOL><DEDENT>self.url = URL_FORMAT.format(*url_order)<EOL>
Build the url for a broadcast ratings page