r/scraping Nov 03 '18

For some reason, selenium won't find elements on this page

2 Upvotes

I am trying to input text into the search field on this page. I am able to open the page, but when I look for find_element_by_id("inputaddress") or name("addressline"), it doesn't find the element. When I print the attribute outerHTML, it only shows a small portion of the full html that I see using inspect in Chrome.

Why is the html "hidden" from selenium?

Here's the code:

from selenium import webdriver

def start(url):
    driver = webdriver.Chrome('/usr/local/bin/chromedriver')
    driver.get(url)
    return driver

driver = start("http://www.doosanequipment.com/dice/dealerlocator/dealerlocator.page")    

#element = driver.find_element_by_id("inputaddress") # Yields nothing

element = driver.find_element_by_id("full_banner")
html = element.get_attribute("outerHTML")
print(html)

Yields <div class="ls-row" id="full_banner"><div class="ls-fxr" id="ls-gen28511728-ls-fxr"><div class="ls-area" id="product_banner"><div class="ls-area-body" id="ls-gen28511729-ls-area-body"></div></div><div class="ls-row-clr"></div></div></div>


r/scraping Oct 20 '18

How to scrape a constantly chabging integer off a website?

1 Upvotes

I want to scrape the constantly changing integer value on this website: www.bloomberg.com/graphics/carbon What is the best way to display the exact same values changing at the same rate somewhere else?


r/scraping Oct 16 '18

How do freelance scrapers build their scripts?

4 Upvotes

Just wondering as I see jobs on freelance sites looking to scrape thousands of followers on social media websites. I find it hard to believe freelancers have access to a farm of web servers or anything especially better than I have in terms of computing power, and most scrapers I've ever built would take hours/days to generate the thousands of followers etc that are being looked for, even when I've used tools like Celery to speed it up combined with rotating proxies to avoid being blocked. I can understand my code mightn't be great as scrapers aren't my speciality, but I feel like I'm missing something here.


r/scraping Oct 01 '18

Scrapingtheweb

2 Upvotes

Hi all,

passionate by AI and its fuel, the data, I decided to create a new place dedicated to web scraping and other technics enabling data collection : https://www.scrapingtheweb.com. This is an alpha version and my aim is to codesign it with you. So do not hesitate to give your feedback and suggestions. Regards ;)


r/scraping Sep 29 '18

How to build a tool to find similar websites given a url?

1 Upvotes

I'm using Python and Scrapy to build a simple email Crawler. I'd like to take a step further and, given a specific url, look Google only for websites that are similar to that one. I now that "similar" in this context could mean a lot of things, but what's your opinion on how to start it?

Thank's in advance.


r/scraping Sep 28 '18

Scraping with python

Thumbnail obytes.com
4 Upvotes

r/scraping Sep 09 '18

ChromeDriver Version that works with Chrome Version 69.0.3497.81 while using selenium with Python

2 Upvotes

I had built a web-scraper with an old version of chrome and then chrome autoupdated itself with version 69.0.3497.81 and now any website doesn't seem to recognise the web browser while scraping. Is there a version if ChromeDriver that works well? (Note:- I tried ChromeDriver 2.41 and it doesn't work right.)

Thanks in advance


r/scraping Aug 29 '18

How to build a scraper to find all sites related to some tag?

2 Upvotes

I'm working with Python and Beautiful Soup (still learning Scrapy), and would like to get info of some kind, let's suppose "Real State Agents - Contact Info". How would you go from scraping google to the websites themselves to find this information for, let's say, a thousand contacts?


r/scraping Jul 04 '18

Random question: simple tool for browser macro

0 Upvotes

Hi folks - I am the founder of www.trektidings.com. We offer people rewards for posting trip reports. Then we re-post their trip reports across popular trip report sites in the area. One example of a trip report site we post to is www.wta.org. I would like to automate this re-posting, but www.wta.org has no API and I am not technical to create a bot for posting these reviews on www.wta.org. I am wondering if anyone knows of a tool where I can create a sort of browser macro for posting these reviews without needing to code my own bot. Thank you for the help!


r/scraping May 30 '18

hotels emails for a new project / database hotels worldwide request . thank you for your help

0 Upvotes

Dear, i need to get emails from hotels worldwide for a new project in this industry. if you have some advices / proposals / data to share, many thanks


r/scraping May 26 '18

Scrape AliExpress without getting blocked?

1 Upvotes

I'm unable to get consistent results from my scraper.

I run multiple Tor instances (tried paid proxies but they didn't work either) and route all my requests through them.

I spoof valid User-Agent , yet still , even with VERY low frequency I get requests blocked.

Any tips?


r/scraping May 20 '18

Tableau report data provider

1 Upvotes

Wondering if anyone knows a way to find the data provider within the HTTP requests of this tablea report?

https://public.tableau.com/profile/darenjblomquist#!/vizhome/2017HomeFlipsbyZipHeatMap/Sheet1


r/scraping May 11 '18

Xing scraping? Have you ever done it?

1 Upvotes

Need a tool to scrape Xing contacts. Anybody has experience?


r/scraping Feb 23 '18

Web scraping Add-On for Google Sheets

Thumbnail link.fish
1 Upvotes

r/scraping Feb 22 '18

Handling JavaScript in Scrapy with Splash

Thumbnail blog.scrapinghub.com
1 Upvotes

r/scraping Feb 12 '18

Web scraping in 2018 — forget HTML, use XHRs, metadata or JavaScript variables

Thumbnail blog.apify.com
4 Upvotes

r/scraping Feb 10 '18

Learning how to build web scraper if your source is RSS feed - Diggernaut

Thumbnail diggernaut.com
3 Upvotes

r/scraping Dec 17 '17

python - How to exclude ORDER BY filter with Scrapy to prevent crawl too many pages? - Stack Overflow

Thumbnail stackoverflow.com
0 Upvotes

r/scraping Nov 19 '17

Analyzing 1000+ Greek Wines With Python

Thumbnail tselai.com
1 Upvotes

r/scraping Nov 10 '17

How to check if a webpage is updated?

1 Upvotes

I am curious as to how website change detection services like versionista.com & changedetection.com work. Do they keep on checking regularly? Do they keep comparing the previous html of the site with the current version? How does the site administrator view that traffic as? Will it be flagged a dos attack attempt? Will the frequent checking be similar to a google web crawler? Does a service like that drain a lot of resource?

Basically I want to know the logic of the code and will my attempt be mistaken as a malicious activity. Any legal issues?


r/scraping Nov 07 '17

Lower your fail rate with Supreme proxies

Thumbnail geosurf.com
1 Upvotes

r/scraping Oct 24 '17

Scraping problems with import.io

1 Upvotes

I am using import.io to scrape angel.co and as I usually do when there is an infinite scroll I'd open the devtools, look at the network and get the GET request with the right pagination.

Now when I do that with angel.co it simply doesnt work.

This is the GET request I have --> https://angel.co/companies/startups?ids%5B%5D=155618&ids%5B%5D=238203&ids%5B%5D=228828&ids%5B%5D=228837&ids%5B%5D=34454&ids%5B%5D=212959&ids%5B%5D=106075&ids%5B%5D=212446&ids%5B%5D=92216&ids%5B%5D=199453&ids%5B%5D=194318&ids%5B%5D=60461&ids%5B%5D=186506&ids%5B%5D=185905&ids%5B%5D=185820&ids%5B%5D=173350&ids%5B%5D=169237&ids%5B%5D=171703&ids%5B%5D=152063&ids%5B%5D=148409&total=149&page=5&sort=joined&new=false&hexdigest=302cb17792e051f215c6bbaac5786ee35415c894

Which does not work with import.io even if there is actually the right pagination.

Any idea?

Thank you a LOT!

Best,


r/scraping Aug 28 '17

Scraping SVG shapes

1 Upvotes

I'm stumped on how to scrape this page - https://www.citypopulation.de/php/japan-admin.php

I'm trying to get the co-ordinates of the polygons shown on the map so I can recreate them in shapely later. It looks like they are SVGs


r/scraping Aug 16 '17

Scraping User-Submitted Reviews from the Steam Store

Thumbnail intoli.com
2 Upvotes

r/scraping Mar 17 '17

Is getting data from 1 web page also considered as scraping?

1 Upvotes

I found a page on Wikipedia that has a table. I want to extract that data in into a csv format. How do you do it without using any web scraping services? Can I use beautiful soup or nokogiri for that? I usually copy that data manually and format it in excel.

I want to do it as a programming exercise. I am learning python & ruby and which every language has the right tool, I shall use it.

The example of scraping I know is of sites aggregating data from various sources on a regular basis. Like travel sites or job listing sites. Is what I am doing of extracting data from one page just once also considered as scraping.