-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathlearn-scrapy.html
39 lines (37 loc) · 1.42 KB
/
learn-scrapy.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
layout: default
title: Learn Scrapy
permalink: /scrapy/
---
<div class="wrap container-fluid">
{% for video in site.data.scrapy-videos %}
<div class="row video-row">
<div class="col-md-6 video">
<div class="video-wrapper"><iframe src="https://www.youtube.com/embed/{{ video.id }}" frameborder="0" allowfullscreen></iframe></div>
</div>
<div class="col-md-6 video-details">
<h2 id="unit{{ forloop.index }}">{{ forloop.index }}. {{ video.title }}</h2>
<p>{{ video.description }}</p>
<h3>Topics:</h3>
<ul>
{% for topic in video.topics %}
<li>{{ topic }}</li>
{% endfor %}
</ul>
<h3>Further Reading:</h3>
<ul>
{% for ref in video.references %}
<li><a href="{{ ref.url }}">{{ ref.description }}</a></li>
{% endfor %}
</ul>
<div class="spider">
<a class="code-button btn sh-button" data-toggle="collapse" data-target="#code{{ forloop.index0 }}"><i class="fa fa-code" aria-hidden="true"></i> Toggle code</a>
</div>
</div>
<div id="code{{ forloop.index0 }}" class="collapse code col-md-12">
<pre><code class="python">{% include spiders/{{forloop.index0}}.py %}</code></pre>
</div>
</div>
{% endfor %}
</div>
{% include footer.html %}