Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita17eaad

Browse files
authored
Update scraper.py
1 parentc71924e commita17eaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scraper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
importrequests
22
frombs4importBeautifulSoup
33

4-
proxy= {'http':'http://username:password@gate.smartproxy.com:10000'}# Proxy authentication information
4+
proxy= {'http':'http://username:password@gate.decodo.com:10000'}# Proxy authentication information
55
url='http://books.toscrape.com/'# Website to make a GET request to
66

77
r=requests.get(url,proxies=proxy)# Make the GET request to a target URL using proxies

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp