jimregan commited on
Commit
8b6ef49
1 Parent(s): 1b3bc66

should not happen

Browse files
Files changed (1) hide show
  1. corpuscrawler-ga.py +1 -1
corpuscrawler-ga.py CHANGED
@@ -119,7 +119,7 @@ class CorpusCrawlerIrish(datasets.GeneratorBasedBuilder):
119
  for para in text:
120
  example = {
121
  "genre": res.get('genre', ''),
122
- "url": res['location'],
123
  "publication_date": res.get('publication-date', ''),
124
  "video_url": res.get('video', ''),
125
  "title": res.get('title', ''),
119
  for para in text:
120
  example = {
121
  "genre": res.get('genre', ''),
122
+ "url": res.get('location', link),
123
  "publication_date": res.get('publication-date', ''),
124
  "video_url": res.get('video', ''),
125
  "title": res.get('title', ''),