Skip to content

Instantly share code, notes, and snippets.

View huqa's full-sized avatar
🐈

Ville Riikonen huqa

🐈
  • Finland
View GitHub Profile
@huqa
huqa / module_urltitle.py
Created August 9, 2016 09:55
urltitle with channel ignore patch
# -*- coding: utf-8 -*-
"""Displays HTML page titles
Smart title functionality for sites which could have clear titles,
but still decide show idiotic bulk data in the HTML title element
"""
from __future__ import print_function, division
import fnmatch
import urlparse