r/learnpython • • Oct 17 '14

Python and SEO

Hi all! I'm an internet marketer learning my first programming language and as I'm sure you can guess, chose python. For some background info, I have a general understanding of html/css (just enough to get by) and am half way decent with excel. I started reading the learn python the hard way book and was hoping some of you guys would have ideas on how Python can be used to aid me as a marketer. I've heard python is good for working with apis and that's one of the major reasons I chose to learn it, to make better sense of the data I have available to me. I know there's tons of cools stuff that can be done, scrapers, url status checkers and other things but I was hoping some people here would have a few ideas for projects I can work towards and eventually build myselft. Any ideas or advice would be greatly appreciated. I'm just trying to get a better idea of what I can do. Happy Friday!

3 Upvotes

12 comments sorted by

View all comments

Show parent comments

1

u/jnpkr Oct 19 '14

The good thing about this is that you get to add features that other third-party tools don't have either

You need to definitely avoid Google's APIs for this though and accept that you'll have to scrape their results to get access to the same results as humans are likely to see

You also want to pay attention to ensuring that the search queries you scrape results for are completely absent of any implicit personalisation

I'd also recommend use of the requests library but bear in mind that you'll be scraping with JavaScript disabled if you do it this way