Scraper's Proxy

FREEMIUM
Verified
(Ким) Scapers Proxy | Оновлено 4 days ago | Data
Популярність

9.4 / 10

Затримки

17,592ms

Рівень обслуговування

99%

Health Check

100%

Повернутися до всіх обговорень

The scrapper proxy is not working

Rapid account: Cmbasak
cmbasak
2 years ago

Tried with the added code but it is not working

import requests
from pyquery import PyQuery

#Send request to API
url = “https://scrapers-proxy2.p.rapidapi.com/standard

params = {
“url”:“https://pitchbook.com/profiles/company/51261-67
}

headers = {
‘x-rapidapi-host’: “scrapers-proxy2.p.rapidapi.com”,
‘x-rapidapi-key’: “<YOUR API KEY>” # TODO Fill in
}

response = requests.request(“GET”, url, headers=headers, params=params)

Query html

pq = PyQuery(response.text)
title = pq(’.pp-title’).text()

print("Title: "+title)

print(“Stats:”)
stats = pq(’.pp-overview-item_value’)

for stat in stats:
print([pq(element).text() for element in pq(stat).parent().children()])

print(“Team:”)
team_members = pq(’#team tr’)
for member in team_members:
print([pq(element).text() for element in pq(member).children()])

Rapid account: Vonderoh
vonderoh Commented 2 years ago

Hi cmbasak,

I am sorry to hear you are having issues.

Have you replaced the API KEY in the ‘x-rapidapi-key’ header? Could you also please add the error you are getting?

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення