Pull college basketball data using VBA

Đã hoàn thành Đã đăng vào 5 năm trước Thanh toán khi bàn giao
Đã hoàn thành Thanh toán khi bàn giao

I’ll try to explain this the best I can. I want to setup 3 loops to pull data for college basketball games. I'm experienced in VBA but I'm having trouble creating a loop that does not error out after 15 games or so. There is some kind of security on the ncaa's site that prevents this type of data scraping I'm told. The workaround which has been mostly effective is to put in a wait for 5 seconds or so after each run in the loop.

However, I’ve pulled the webpage using VBA code (like below), this appears to error out after a number of runs so I need some help w/ another method to pull this data. I think the best way to do this quickly is to use HTML tags which is something I'm unfamiliar with.

QueryQuote:

With Sheets("Data").[login to view URL](Connection:="URL;" & str, Destination:=Sheets("Data").Range("a1"))

.BackgroundQuery = True

.TablesOnlyFromHTML = False

.Refresh BackgroundQuery:=False

.SaveData = True

End With

Here’s the general idea of what I’m trying to do

1. For a given set of teams (which I will have) pull the box in the lower left corner of each teams page using the following link…The loop will have the general link [login to view URL] + the teams number which I will have already ex. 111066, 111067, etc. It will up to 120 games in one run

[login to view URL]

2. From there I can generate a list of hyperlinks to boxscores. For the boxscores I need all of player data for the two teams involved in the game. The following hyperlink would be used

[login to view URL]

3. Lastly I will need all of the play by play data for the game. This includes everything from the headings Time, Team1, Score, Team2 until you get to the bottom of the page

[login to view URL]

Here’s a couple of must haves

• This needs to be done in VBA and the code needs to format the data into cells in excel

• I need a description/walkthrough once this is done of how the code works. I need to be able to troubleshoot if something goes wrong

• I need to be able to set a time trigger for the code

• I need to verify on my machine that the code will function w/out error and fully run through each of the 3 steps above for up to 150 games

• I just need the data, nothing else. Just exactly what is on the webpage in excel. Simple as that

Excel Excel VBA HTML JavaScript Visual Basic

ID dự án: #17581400

Về dự án

14 đề xuất Dự án từ xa 5 năm trước đang mở

Được trao cho:

Attractionnet

Hello. I have scraped ncaa at the past. I use vb.net which is the parent language of vba. So instead of writing the code in vba which is limited I will write it in vb.net as a standalone program. The program will h Thêm

$264 USD trong 3 ngày
(138 Đánh Giá)
6.5

14 freelancer chào giá trung bình$451 cho công việc này

schoudhary1553

Hello Sir, I am the expert freelancer here. I am on the 6th position through out the world to deliver the quality job. I have deliver here more than 385 + projects with 100% client satisfaction. I have more than 5 Thêm

$600 USD trong 5 ngày
(378 Nhận xét)
8.0
Vlzinch

Hi! I’m experienced Python developer, and web-scraping is one of my main fields of knowledge. I've started with VBA scraping 8 years ago, but switched to Python, because it is much more powerful in this field. I can Thêm

$750 USD trong 10 ngày
(69 Nhận xét)
7.5
PigtailXL

Hello Sr./Madam Hope you read my proposal and take a look into my Portfolio to see my reputation and capabilities. I am an experienced Windows Desktop Apps Developer (C#, C++), Web Data Extractor & Automator and I'd Thêm

$600 USD trong 5 ngày
(187 Nhận xét)
7.2
ehsankayani

Hi there, Most probably you are getting blocked by the site after repeated hits so i have been scraping sites for a very long time and can provide solutions which will use tor proxies and other similar all free solu Thêm

$588 USD trong 5 ngày
(64 Nhận xét)
7.0
gangabass

I have huge web scraping experience and also I'm VBA specialist that's why I'm sure you'll be impressed with my work. I can provide you VBA code that will work on NCAA site just like you want and all I need to start Thêm

$264 USD trong 1 ngày
(217 Nhận xét)
6.7
ksriniravi

Greetings! Being a full time freelancer working exclusively on Excel based projects, I work on such Excel based tasks every single day. I can develop a VBA based solution for your basketball data extraction needs fr Thêm

$250 USD trong 3 ngày
(213 Nhận xét)
6.9
aubrey03

I am an Excel VBA specialist with experience in creating web scraping tools using VBA and Selenium Basic. Selenium is a reference library which you can add in Excel so that you can manipulate browsers like Chrome or Fi Thêm

$250 USD trong 5 ngày
(157 Nhận xét)
6.3
Ahmed818

Hello, i am expert in this kind of jobs i finished more than 10 scraping jobs in this year most of them are scraping jobs using excel macros https://www.freelancer.com/projects/php/Web-scraping-16342603/ Thêm

$250 USD trong 1 ngày
(104 Nhận xét)
5.2
Krunalpatel0710

I Have good knowledge of VBA scripting, Python and Java programming language. As of now I am working as software developer.

$555 USD trong 10 ngày
(0 Nhận xét)
0.0