Skip to content

Instantly share code, notes, and snippets.

View evilhero's full-sized avatar

evilhero

  • Thunder Bay, ON Canada
View GitHub Profile
@evilhero
evilhero / findcomicfeed.py
Last active August 10, 2017 00:57
Possible fix for Experimental not returning any results occassionally (put in a time-delay between searches)
#!/usr/bin/env python
import os
import sys
import time
import feedparser
import re
import logger
import mylar
import unicodedata
@evilhero
evilhero / search.py
Last active July 6, 2017 23:12
extra logging in search.py to try and narrow down posting date conversion errors
# This file is part of Mylar.
#
# Mylar is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Mylar is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@evilhero
evilhero / cmtagmylar.py
Created May 15, 2017 18:37
More detailed logging for metatagger when creating initial temporary directory ...
# This script was taken almost entirely from Manders2600 Script with the use of the awesome ComicTagger.
# modified very slightly so Mylar just passes it the IssueID for it to do it's magic.
import os, errno
import sys
import re
import glob
import shlex
import platform
@evilhero
evilhero / filechecker.py
Created May 6, 2016 18:29
modified filechecker.py (dev) for test use for windows manual post-processing involving multiple directory levels
#/usr/bin/env python
# This file is part of Mylar.
#
# Mylar is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Mylar is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@evilhero
evilhero / versioncheck.py
Created March 22, 2015 08:05
attempted fix for URLError when starting up Mylar on some systems
# This file is part of Mylar.
#
# Mylar is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Mylar is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@evilhero
evilhero / PostProcessor.py
Created December 13, 2014 20:04
Updated PostProcessor.py module to aid with manual post-processing issues that cannot be processed due to year rollover 2014/2015
# This file is part of Mylar.
#
# Mylar is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Mylar is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@evilhero
evilhero / filechecker.py
Created December 13, 2014 20:03
Updated filechecker.py module to aid with manual post-processing issues that cannot be processed due to year rollover 2014/2015
#/usr/bin/env python
# This file is part of Mylar.
#
# Mylar is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Mylar is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@evilhero
evilhero / cmtagmylar.py
Created October 17, 2014 04:02
updated cmtagmylar.py to allow for users with differing versions of python
# This script was taken almost entirely from Manders2600 Script with the use of the awesome ComicTagger.
# modified very slightly so Mylar just passes it the IssueID for it to do it's magic.
import os, errno
import sys
import re
import glob
import shlex
import platform