weibo-spider – 微博爬蟲php指令碼
weibo-spider是微博專案爬蟲指令碼的整理,以php語言開發,mysql作為儲存資料庫。
快速上手
$ php weibo.php
[2018-09-14 15:46:20] id.1 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:20] id.2 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:20] id.3 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.4 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.5 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.6 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.7 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.8 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.9 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.10 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.11 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.12 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.13 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.14 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.15 | 1-0 -> 羅永浩 is ad
[2018-09-14 15:46:21] id.16 | 1-0 -> 羅永浩 is ad
puppeteer框架簡單採集微博
puppeteer框架其實是乙個無介面chrome工具。chrome headless將成為web應用自動化測試的行業標桿。掌握關於puppeteer的知識對我們來說是很重要的。我們都知道無頭瀏覽器是指沒有視窗的瀏覽器。那我們使用puppeteer讓瀏覽器幫我們自動完成很多事情,比如建立頁面的截圖或...
php採集遠端文章簡單類
public pagestring private db function construct function geturlfile url else return trim content function get all url code function get sub content st...
微信小程式文章介面簡單布局
效果圖 wxml檔案 class content class author date src images 4.png class author image class date logo 2017年七月text view class title 那年夏天你在 text class article ...