Skip to content

Instantly share code, notes, and snippets.

(ns libnico.core
(:gen-class)
(:require [net.cgrand.enlive-html :as html]
[clojure.java.io :as io])
(:import java.io.ByteArrayInputStream)
)
(def elements [
:video_id
:title
#!/usr/bin/env python
import cgi
import os, sys, shutil
import urllib2, re, random
HTML="""<html xmlns="http://www.w3.org/1999/xhtml" lang="ja-JP" xml:lang="ja-JP">
<head>
<title>pagenum</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />