原创 pyspider採集例子

#!/usr/bin/env python # -*- encoding: utf-8 -*- # Created on 2016-11-21 07:17:36 # Project: xdf from pyspider.libs.base_

原创 ubuntu phantomjs安裝(PhantomJS崩潰可以按這個重裝解決)

直接官網下載http://phantomjs.org/download.html 我的環境是64位:https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-

原创 pyspider採集例子

#!/usr/bin/env python # -*- encoding: utf-8 -*- # Created on 2017-04-04 10:35:52 # Project: retries from pyspider.libs.

原创 我的友情鏈接

jzking121' blog

原创 Ubuntu部署python3-flask-nginx-uwsgi-supervisor完美

https://blog.51cto.com/jokerbug by:joker_bug 安裝虛擬環境 $ pip install virtualenv $ pip install virtualenvwrapper 把虛擬機環境添加

原创 pyspider採集例子(js)

#!/usr/bin/env python # -*- encoding: utf-8 -*- # Created on 2015-01-04 03:35:01 # Project: tutorial_pinterest from pys

原创 falsk-web 表單

web 表單回顧在上一章節中,我們定義了一個簡單的模板,使用佔位符來虛擬了暫未實現的部分,比如用戶以及文章等。在本章我們將要講述應用程序的特性之一–表單,我們將會詳細討論如何使用 web 表單。Web 表單是在任何一個 web 應用程序中最

原创 Flask入門-上傳的問題

flask.pyfrom flask import Flask, render_template, request, redirect, url_for from werkzeug.utils import secure_filename

原创 pyspider-修改項目刪除時間

pyspider 想刪除項目,默認是組名改爲delete後如果狀態爲stop狀態,24小時後項目會被系統刪除.這樣很困擾,直接正題修改刪除的時間。創建一個config.json"delete-time":10 刪除項目時間設置10秒{  "

原创 ubuntu安裝pyspider遇到的坑

apt-get install python python-dev python-distribute python-pip \libcurl4-openssl-dev libxml2-dev libxslt1-dev python-lxm

原创 pyspider採集例子

#!/usr/bin/env python # -*- encoding: utf-8 -*- # Created on 2016-11-21 07:17:36 # Project: xdf from pyspider.libs.base_

原创 我的友情鏈接

jzking121' blog