Nyaa.se Dark Theme

For Stylish

This theme uses Sazanami Gothic, but you can use any font you like.

Install it here with Stylish.

@-moz-document domain("nyaa.se") {

input,
select, 
textarea, 
.content,
#tabnav,
.inputsearchcategory,
option,
select,
input,
textarea,
#searchcontainer,
.inputsearchterm,
.inputsearchsubmit{
    font: 11px "Sazanami Gothic" !important; /* MAIN FONT */
	}

a:hover,
b,
div.comment .chead a span,
div.comment .chead span{
    color:#cf5f6a !important; /* HIGHLIGHT COLOR */
    }

body{
    background:#1b1b1b !important;   
	}

.content{
    border-width: 0px !important;
    border-color: #1b1b1b !important;
    border-radius: 1px!important;
    background:#272727 !important;
    color: #c0c0c0!important;
    margin-left: auto!important;
    margin-right: auto!important;
    margin-top:0px!important;
    padding-bottom: 0px!important;
    margin-bottom: 30px!important;
    float:none!important
	}

a{
	color: #c0c0c0!important;
	}

a:hover{
    text-decoration: none!important;
	}

#tabnav,
.inputsearchcategory,
option,
select,
input,
textarea,
#searchcontainer,
.inputsearchterm,
.inputsearchsubmit{
    color: rgba(255,255,255,0.8)!important;
	}
	
#main div a img{
	display:none;
	}

#main div.viewdownloadbutton a img{
	display:block;
	}

td.tlistdownload a img{
	display:inherit!important;
	}

.viewdescription, .viewfiletable{
    border-top:none!important;
    border-right:none!important;
    border-bottom:none!important;
    border-radius:1px!important;
    border-color:#646464!important;
    background:#272727!important;
    }

.tlist a, .tlist td{
	font-weight:normal !important;
	}

.refinesearch, .tlistththree, .torrentcats{
    display: none!important
	}

#topbar{
    top:0px!important;
    left:48px;
    height: 0px!important;
    position:absolute!important;
    }

#topbar:hover{   
    top:0px!important;
    display: block!important;
	}

#searchcontainer{
    padding: 11px 0px 7px 0px!important
	}

.inputsearchterm{
    width: 136px!important;
    height: 9px!important;
	}

.tlistsortorder{
    margin-left:auto!important;
    margin-right:auto!important;
    margin-bottom:10px!important;
    padding: 4px!important;
	}

.tlistdownload{
    padding-right: 4px!important   
	}

.tlistrow{
    display: block!important;
    width: 870px!important;
    border-width: 5px !important;
    border-color: #1b1b1b !important;
    border-radius: 1px!important;
    border-bottom: none !important;
    margin: 0px -1px 0px 0px!important;
	}

.tlistname{
    padding: 8px 8px 8px 10px!important;
    min-width: 46.1em!important;
    max-width: 46.1em!important;
    text-overflow: ellipsis;
    white-space:nowrap;
    overflow: hidden;
	}

.tlistsize{
    min-width: 5em!important;
    text-align:center!important;
    padding: 0px 7px 0px 7px!important;
    border-width: 1px !important;
    border-color: rgba(0,0,0,0) !important;
    border-radius: 1px!important;
	}

.tlistsn, .tlistln, .tlistdn{
    min-width: 4em!important;
    min-height: 4em!important;
    padding: 0px!important;
    text-align:center!important;
    border-right: 1px solid!important;
    border-color: rgba(0,0,0,0) !important;
    border-radius: 1px!important
	}

.tlisticon{
    border-right: 1px solid!important;
    border-color: rgba(0,0,0,0) !important;
    border-radius: 1px!important;
    padding: 0px 2px 0px 0px!important;
    margin-left:-2px!important;
    float:left;
	}

.tlistfailed{
    min-width: 7em!important;
    min-height: 4em!important;
    text-align:center!important;
    padding-left: 11px!important
	}

.tlistmn{
    width: 5em!important;
    min-height: 4em!important;
    text-align:center!important;
	}

.tlistthone,
.tlistsizehead,
.tlistthtwo,
.tlistthfive,
.tlistthsix,
.tlistthseven,
.tlisttheight{
    border-top: 1px solid!important;
    border-right: 1px solid!important;
    border-color: rgba(0,0,0,0) !important;
    border-radius: 1px!important;
	}

.tlistthone,
.tlistthfive,
.tlistthsix,
.tlistthseven,
.tlisttheight{
    text-align: center!important;
    padding-left: 0px!important;
    padding-right: 0px!important;
	}

.tlistthfive,
.tlistthsix{
    width: 4em!important;
    min-height: 4em!important;
    padding: 5px 0px 5px 0px!important;
	}

.tlistsizehead{   
    min-width: 4em!important;
    padding: 5px 1px 5px 1px!important;
	}

.tlistthone{
    min-width: 7em!important;
    padding: 5px 1px 5px 0px!important;
	}

.tlistthtwo{
    min-width: 43em!important;
    padding: 5px 19px 5px 19px!important;
	}

.tlistthseven{   
    width: 3.65em!important;
    padding: 5px 2px 5px 2px!important;
	}

.tlisttheight{   
    width: 2.9em!important;
    padding: 5px 0px 5px 1px!important;
    border-right: none!important
	}

.tlistsn{
    color: #b6cf86!important
	}

.tlistln{
    color: #d184a8!important
	}

.tlistmn{
    color: #b7c5d9!important
	}

tr.trusted.tlistrow{
    background-color: rgba(160, 224, 176, 0.1)!important;
	}

.remake{
    background: rgba(224, 144, 144, 0.1)!important;
	}

.aplus{
    background-color: rgba(144, 176, 240, 0.1)!important;
	}

.tlistpages{
    padding: 0px 0px 0px 0px!important;
    border-color: rgba(0,0,0,0) !important;
    border-bottom: none!important;
    margin-bottom: 0px!important;
	}


.page, b, .tlistsortorder{
    border: none!important;
    padding: .1em!important;
    font-size: 12px!important;
	}

.page:hover{
    background: none!important
	}

div.comment{
    background: #1b1b1b !important;
    border: none !important;
    border-radius: 0px !important;
    }
}
Posted in Rice and tagged

Winter 2014 Most Popular Shows

According to HorribleSubs 720p Pilot Episodes

NOTICE: This project has been cancelled due to lack of internet connection.

This is a script I wrote in Python to capture an RSS feed from nyaa.se to measure the amount of downloads ten days after the torrent was uploaded. Originally I simply calculated the amount of time since the torrent was uploaded vs. downloads to get the downloads per day, but that could be inaccurate.

The data is taken from a search for HorribleSubs episode 01 uploads in 720p quality.

I took way too much time to do the scheduling in the second half instead of figuring out how to capture the torrent’s date and adding two weeks. It was 3AM and it was the best I could come up with at the time.

import feedparser
import logging
import time
import sched
from apscheduler.scheduler import Scheduler

sched = Scheduler(standalone=True)

#Log to a file
logging.basicConfig( filename="horriblesubs_episode01_720p.log", level=logging.DEBUG )

#Script to log the above feed
def log_feed():

	#HorribleSubs feed including only shows in the schedule at 720p
	nyaa = feedparser.parse( "http://www.nyaa.se/?page=rss&cats=1_37&filter=2&term=01+horriblesubs+720p" )

	logging.info( "\n\n\n" + "=================" + "\n" + "= BEGIN LOGGING =" + "\n" + "=================" + "\n\n\n" )
	for post in nyaa.entries:	
		logging.info( " " + post.title )
		logging.info( " " + post.summary + "\n" )
		
	print "Feed logged!"

#Scheduled times to log the feed for each show, after a 10 day period
sched.add_cron_job(log_feed, month='1', day='18', hour='9', minute='12', second='0') 	# ImoCho
sched.add_cron_job(log_feed, month='1', day='18', hour='11', minute='5', second='0') 	# SYD2
sched.add_cron_job(log_feed, month='1', day='18', hour='11', minute='14', second='0') 	# Space Dandy
sched.add_cron_job(log_feed, month='1', day='18', hour='11', minute='16', second='0') 	# Noragami
sched.add_cron_job(log_feed, month='1', day='19', hour='11', minute='39', second='0') 	# Saki
sched.add_cron_job(log_feed, month='1', day='19', hour='12', minute='4', second='0') 	# Seki-kun
sched.add_cron_job(log_feed, month='1', day='19', hour='13', minute='21', second='0') 	# Nobunaga the Fool
sched.add_cron_job(log_feed, month='1', day='20', hour='0', minute='17', second='0') 	# Nobunagun
sched.add_cron_job(log_feed, month='1', day='20', hour='8', minute='4', second='0') 	# Toaru Hikuushi
sched.add_cron_job(log_feed, month='1', day='20', hour='10', minute='5', second='0') 	# SoniAni
sched.add_cron_job(log_feed, month='1', day='21', hour='2', minute='8', second='0') 	# Buddy Complex
sched.add_cron_job(log_feed, month='1', day='21', hour='2', minute='10', second='0') 	# D-Frag!
sched.add_cron_job(log_feed, month='1', day='21', hour='12', minute='2', second='0') 	# Wooser no Sono
sched.add_cron_job(log_feed, month='1', day='21', hour='12', minute='10', second='0') 	# Hamatora
sched.add_cron_job(log_feed, month='1', day='22', hour='10', minute='35', second='0') 	# Chuu2
sched.add_cron_job(log_feed, month='1', day='22', hour='12', minute='23', second='0') 	# Witch Craft Works
sched.add_cron_job(log_feed, month='1', day='23', hour='7', minute='50', second='0') 	# Mikakunin
sched.add_cron_job(log_feed, month='1', day='23', hour='10', minute='31', second='0') 	# Strange+
sched.add_cron_job(log_feed, month='1', day='23', hour='10', minute='57', second='0') 	# Gin no Saji
sched.add_cron_job(log_feed, month='1', day='23', hour='12', minute='8', second='0') 	# Hoozuki
sched.add_cron_job(log_feed, month='1', day='23', hour='12', minute='30', second='0') 	# ZX IGNITION
sched.add_cron_job(log_feed, month='1', day='23', hour='13', minute='30', second='0') 	# Pupa
sched.add_cron_job(log_feed, month='1', day='23', hour='13', minute='35', second='0') 	# Mahou Sensou
sched.add_cron_job(log_feed, month='1', day='24', hour='10', minute='7', second='0') 	# Sakura Trick
sched.add_cron_job(log_feed, month='1', day='24', hour='10', minute='25', second='0') 	# WUG Movie
sched.add_cron_job(log_feed, month='1', day='24', hour='11', minute='26', second='0') 	# Nourin
sched.add_cron_job(log_feed, month='1', day='24', hour='11', minute='35', second='0') 	# WUG TV
sched.add_cron_job(log_feed, month='1', day='25', hour='10', minute='35', second='0') 	# Nisekoi
sched.add_cron_job(log_feed, month='1', day='25', hour='10', minute='35', second='0') 	# Sekai Seifuku
sched.add_cron_job(log_feed, month='1', day='26', hour='11', minute='5', second='0') 	# Wizard Barristers

#Let the user know he's all good
print "Script started!"

#Start the schedule
sched.start()

Using this method, I am able to accurately see the downloads per day, seeing which shows from this season (Winter 2014) were the most popular.

All counts should be finished by January 26, but you can view the finalized counts here.

Posted in Anime and tagged