A script to add a column containing only the domain name to an existing CSV file. It extract it from a column containing an URL. It works with .co.uk and other country code top-level domain. Just change “5” by the column containing the URL. Also don’t forget to adjust. Here is it setup for semi-colon for […]
Category archives: Development
Extract domain name with Python
tldextract is the best library to extract the domain name with Python. Here is how it looks in action: import tldextractext = tldextract.extract(‘http://forums.bbc.com’)print(ext.registered_domain) Which would output: bbc.co.uk
How-to install mnoGoSearch on Debian Jessie
mnoGoSearch tested with a fresh cloud.runabove.com Debian Jessie 7.5 instance : sudo nano /etc/apt/sources.list #Only jessie distrib —> deb http://ftp.debian.org/debian jessie main —> deb-src http://ftp.debian.org/debian jessie main #Update package list sudo apt-get update #Upgrade distrib with new distrib repository sudo apt-get upgrade #Install MySQL & PhpMyAdmin BEFORE mnoGoSearch sudo apt-get install mysql-server phpmyadmin #Create a […]