python-scraping icon indicating copy to clipboard operation
python-scraping copied to clipboard

Code samples from the book Web Scraping with Python http://shop.oreilly.com/product/0636920034391.do

Results 87 python-scraping issues
Sort by recently updated
recently updated
newest added

안녕하세요. 크롤링 시작하기 65페이지 splitAddress(startingPage)[0] 여기서 [0]의 쓰임새 문의 드립니다. 감사합니다.

The output of this script is: [{'expires': 'Sun, 18 Dec 2016 12:53:17 GMT', 'name': '_gat', 'path': '/', 'expiry': 1482065597, 'domain': '.pythonscraping.com', 'httponly': False, 'value': '1', 'secure': False}, {'expires': 'Tue, 18...

just ‘split()’ also works

I revised a code about non defined method.

Is this new or an issue with Python2? Thanks.

Sorry, I am missing the executable path, specific in executable_path='' my code is same as the book: ``` #!/usr/bin/env python3 import time from selenium import webdriver driver = webdriver.PhantomJS(executable_path='') driver.get("http://www.pythonscraping.com/pages/javascript/ajaxDemo.html")...

``` python elif source.startswith("www."): url = "http://" + source[4:] ``` assignment error