Skip to content

Commit

Permalink
change to Translation.en:
Browse files Browse the repository at this point in the history
  • Loading branch information
jimregan authored and brawer committed Nov 1, 2017
1 parent bf63f98 commit 54e8098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/corpuscrawler/crawl_mi.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _scrape_maoritelevision(crawler, out):
# the link to the English article
english = re.search(r'<a href="(/news/[^"]*)" class="language-link" lang="en">', html)
if english: english = 'http://www.maoritelevision.com%s' % english.group(1)
if english: out.write('# English: %s\n' % english)
if english: out.write('# Translation.en: %s\n' % english)
tags = set()
if '<ul class="tags">' in html:
tagshtml = html.split('<ul class="tags">')[1].split('</ul>')[0]
Expand Down

0 comments on commit 54e8098

Please sign in to comment.