~facundo/encuentro/trunk

« back to all changes in this revision

Viewing changes to server/get_encuen_episodes.py

  • Committer: Facundo Batista
  • Date: 2017-07-12 19:07:23 UTC
  • Revision ID: facundo@taniquetil.com.ar-20170712190723-ss9vfwqfbctvn11i
Removed unneeded 'u' prefixing strings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
 
151
151
            if season is None:
152
152
                if duration is None:
153
 
                    section = u"Película"
 
153
                    section = "Película"
154
154
                else:
155
155
                    if duration > 60:
156
 
                        section = u"Película"
 
156
                        section = "Película"
157
157
                    elif duration < 10:
158
 
                        section = u"Micro"
 
158
                        section = "Micro"
159
159
                    else:
160
 
                        section = u"Especial"
 
160
                        section = "Especial"
161
161
            else:
162
162
                section = 'Series'
163
163
 
183
183
        collected.add(episode_id)
184
184
 
185
185
        # store
186
 
        info = dict(channel=u"Encuentro", title=ep.title, url=ep.epis_url,
 
186
        info = dict(channel="Encuentro", title=ep.title, url=ep.epis_url,
187
187
                    section=ep.section, description=ep.description,
188
188
                    duration=ep.duration, episode_id=episode_id,
189
189
                    image_url=ep.image_url, season=ep.season)