شما به این ویدیو دسترسی ندارید



0

intro

3:17

رایگان

1

requests

8:29

رایگان

2

Beautiful Soup

18:21

3

got example

18:17

4

hacker news

19:21

5

querystring

21:26

6

login

17:36

7

headers

10:38

8

cookie

17:22

10

scrapy

16:47

11

selectors

21:41

12

items

30:12

13

pipeline

15:18

14

follow

14:7

15

Requests

9:51

16

LinkExtractor

10:10

17

Rule

17:20

18

FormRequest

16:57

19

download files

10:18

20

Feeds

11:40

21

middleware

22:14

22

splash

12:37

23

done

3:2

دوره های پیشنهادی

دوره آموزش numpy پایتون
دوره آموزش numpy پایتون
تکمیل ضبط
امیرحسین بیگدلو
دوره آموزش یادگیری ماشین با scikit-learn پایتون
دوره آموزش RabbitMQ
دوره آموزش RabbitMQ
تکمیل ضبط
امیرحسین بیگدلو



ارسال نظر


shayan

10 ماه قبل پاسخ به نظر

سلام
توی ویدیو گفتین که سرعت xpath ها بیشتره نسبت به css خواستم اصلاح کنم حرفتون رو
چیزی که توی داکیومنت خود scrapy هست:
So XPath //p[has-class("foo", "bar-baz")] is roughly equivalent to CSS p.foo.bar-baz. Please note, that it is slower in most of the cases, because it’s a pure-Python function that’s invoked for every node in question whereas the CSS lookup is translated into XPath and thus runs more efficiently, so performance-wise its uses are limited to situations that are not easily described with CSS selectors.

ارسال نظر



امیرحسین بیگدلو

10 ماه قبل

سلام
جالبه، ظاهرا که شما درست میگی. ممنون که روشنم کردی :)

مونگارد