aboutsummaryrefslogtreecommitdiff
path: root/fetch.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2014-06-09 19:05:32 +0200
committerCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2014-06-09 19:05:32 +0200
commit1b73a3a4a73f231f6c1c2a3258e561b1301ca6af (patch)
treeea21bacea92a0a267f8286eb12f2d81cefa1a3c4 /fetch.py
parentA problem with urllib.quote() has been detected with the url: http://standblo... (diff)
parentfixing parsing for already quoted url as well (diff)
downloadnewspipe-1b73a3a4a73f231f6c1c2a3258e561b1301ca6af.tar.gz
newspipe-1b73a3a4a73f231f6c1c2a3258e561b1301ca6af.tar.bz2
newspipe-1b73a3a4a73f231f6c1c2a3258e561b1301ca6af.zip
Merged in jaesivsm/pyaggr3g470r (pull request #2)
making pyagregator runnable by apache
Diffstat (limited to 'fetch.py')
-rwxr-xr-xfetch.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/fetch.py b/fetch.py
index cc3068e0..8684b917 100755
--- a/fetch.py
+++ b/fetch.py
@@ -7,10 +7,7 @@
# */30 * * * * cd ~/.pyaggr3g470r/ ; python fetch.py
# to fetch articles every 30 minutes.
import sys
-if 'threading' in sys.modules:
- raise Exception('threading module loaded before patching!')
-import gevent.monkey
-gevent.monkey.patch_thread()
+import bootstrap
from pyaggr3g470r import crawler
from pyaggr3g470r.models import User
bgstack15