~facundo/encuentro/trunk

« back to all changes in this revision

Viewing changes to server/scrapers_dqsv.py

  • Committer: Facundo Batista
  • Date: 2017-06-23 00:35:18 UTC
  • mto: This revision was merged to the branch mainline in revision 296.
  • Revision ID: facundo@taniquetil.com.ar-20170623003518-sv60l0eib3rjx882
Huge renewal refactor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python3
2
2
 
3
 
# Copyright 2014 Facundo Batista
 
3
# Copyright 2014-2017 Facundo Batista
4
4
#
5
5
# This program is free software: you can redistribute it and/or modify it
6
6
# under the terms of the GNU General Public License version 3, as published
115
115
 
116
116
def _fix_name(name):
117
117
    """Fix and improve the name info."""
118
 
    name = name.replace(""", '"')
 
118
    name = name.replace(""", '"')  # translate quotes
 
119
    name = name.split('<')[0]  # ignore everything after html tag
119
120
    return name
120
121
 
121
122