escape strings
This commit is contained in:
parent
ae10c5c9b9
commit
41edea1862
20 changed files with 74 additions and 74 deletions
|
|
@ -23,7 +23,7 @@ def get_show_url(title):
|
|||
title = quote(title)
|
||||
url = "http://www.metacritic.com/search/process?ty=6&ts=%s&tfs=tvshow_title&x=0&y=0&sb=0&release_date_s=&release_date_e=&metascore_s=&metascore_e=" % title
|
||||
data = read_url(url)
|
||||
return find_re(data, '(http://www.metacritic.com/tv/shows/.*?)\?')
|
||||
return find_re(data, r'(http://www.metacritic.com/tv/shows/.*?)\?')
|
||||
|
||||
def get_data(url):
|
||||
data = read_url(url, unicode=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue