Hi there
Apologies if I don't explain this well, its 1am here and I'm a bit tired, but I thought I'd get this posted before I go to bed...
Basically I do some updating of a football game (like transfers and stuff), and I have a list of players in an excel sheet, for example, in my sheet I have the name of the player, and I want to be able to fetch information from a particular website (transfermarkt) about which team the player players for.
So for example, column C is the players name "Gilberto Martínez" (without the quotes) and Column B is the player's FULL name Gilberto Martínez Vidal (as there is more than one Gilberto Martinez you can search the full name on Transfermarkt's search engine to bring up the specific one you want)
Column X is the 'Team Name' - I want to be able to automatically do a search on the 'Transfermarkt' website using either column B or Column C and then pull the team name for where that player is playing now.
On the Transfermarkt website there is a search engine in the top left corner, I pasted Gilberto Martinez Vidal in the search and this is the output url & page:-
http://www.transfermarkt.co.uk/en/gi...eler_5969.html
the url is consistent except the player name and the number after spieler (spieler is german for player)
so the pages would be like http://www.transfermarkt.co.uk/en/*-...spieler_*.html for each one.
Another example is:- http://www.transfermarkt.co.uk/en/li...ler_28003.html
I just wondered if it will be really difficult to set something up to pull the club name (in this case he doesnt have a club so I want excel to put into Column X the 'Unemployed' text
I'm guessing it would be very difficult because of the numbers after the spieler_ part of the url, as they are different for each player?
Really sorry I've not explained this very well, just wondered how difficult it would be to implement something like this.
I should point out that I am using Excel 2010.
Thank you!
Bookmarks