iT邦幫忙

第 11 屆 iThome 鐵人賽

DAY 28
0
AI & Data

蟲王養成 - scrapy系列 第 28

DAY 28 : python Django 部落格實做

先前發文
DAY 01 : 參賽目的與規劃
DAY 02 : python3 virtualenv 建置
DAY 03 : python3 request
DAY 04 : 使用beautifulsoup4 和lxml
DAY 05 : select 和find 抓取tag
DAY 06 : soup解析後 list取值
DAY 07 : request_header_cookie 通過網頁18限制
DAY 08 : ppt內文爬取
DAY 09 : 資料處理 split replace strip
DAY 10 : python csv 寫入 和dict 合併
DAY 11 : python class function
DAY 12 : crawl 框架 scrapy 使用
DAY 13 : scrapy 架構
DAY 14 : scrapy pipeline data insert mongodb
DAY 15 : scrapy middleware proxy
DAY 16 : scrapy selenium
DAY 17 : scrapy 爬取js畫面資料(二)
DAY 18 : scrapy splash 爬取js畫面資料(三)
DAY 19 : python .env 使用
DAY 20 : python chartify 資料視覺化套件
DAY 21 : python3 pandas 資料處理
DAY 22 : scrapy 資料應用apriori
DAY 23 : Datamining twitch data
DAY 24 : scrapy facebook crawl (一)
DAY 25 : scrapy facebook crawl (二)
DAY 26 : scrapy facebook crawl (三)
DAY 27 : python Django 建置
DAY 28 : python Django 部落格實做


<!DOCTYPE  html>
<html>
<head>
	<meta charset='utf-8'>
	<title>
		test1
	</title>
</head>
<body>
	<h1>test</h1>
	<hr>
	{% for post in posts %}
		<p style='font-family:serif;font-size:16pt;font-weight:bold;'>
			<form action="/test/{{post.slug}}/" method="post">
				{% csrf_token %}
				<input type="submit" value="{{post.title}}">
			</form>

				<!-- <a href='/post/{{post.slug}}'>{{post.title}}</a>-->
		</p>
	<!--	<p style='font-family:serif;font-size:16pt;letter-spacing:11pt;'>
			{{post.body}}
	</p> -->
	{% endfor %}
	<hr>
	<h3>time:{{now}}</h3>
</body>
</html>

上一篇
DAY 27 : python Django 建置
下一篇
DAY 29 : python Django API
系列文
蟲王養成 - scrapy30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言