Web-crawler for iTunes I've written a script in Python to scrape app name, developer and price from ITunes site. 

In its first page there are 10 different recommended app links which my scraper is able to track down and scrape the aforesaid fields going to their concerning page. The quantity of the apps should be 11. Previously, the scraper was printing only 10 results skipping the content from first page. However, there is a line in my scraper (I've written a comment next to it to make you identify) which I've added in such a way so that the scraper do not fail to skip the content of first page from printing. 

With this extra line in it, the scraper has got a clumsy look. It didn't impact on the performance, though! It runs smoothly now and brings results without leaving anything to complain. How can I give it a better look along with any improvement?

This is what I've written: 

import requests
from bs4 import BeautifulSoup 

main_link = "https://itunes.apple.com/us/app/candy-crush-saga/id553834731?mt=8"

def get_links(url):
    response = requests.get(url)
    get_content(url)              # This is the very line which let the scraper harvest documents from the first page
    soup = BeautifulSoup(response.text,"html.parser")
    for title in soup.select("a.name"):
        get_content(title.get("href"))

def get_content(new_links):
    req = requests.get(new_links)
    broth = BeautifulSoup(req.text,"html.parser")
    item ={
    "app_name": broth.select("h1[itemprop=name]")[0].text,
    "developer": broth.select("div.left h2")[0].text, 
    "price": broth.select("div.price")[0].text
    }
    print(item)

get_links(main_link)
Instead of having a get_content function you could add a function that only parses a source passed to it, now it can be either the main page or the suggested apps. Note that you're requesting for main page's content twice even though you had it already.
In addition to the above point you could make few more improvements:

Make the code PEP 8 compatible. Currently you will see decent number of issues if you run it on http://pep8online.com/.

Use session to re-use connections. Since we are making requests to the same host this would speed up the requests. From docs:

The Session object allows you to persist certain parameters across requests. It also persists cookies across all requests made from the Session instance, and will use urllib3's connection pooling. So if you're making several requests to the same host, the underlying TCP connection will be reused, which can result in a significant performance increase (see HTTP persistent connection).


Use __name__ == '__main__' to prevent your code from running when it is imported as a module.


After making the changes your code may look like this:
import requests
from bs4 import BeautifulSoup


session = requests.Session()


def get_links(url):
    source = session.get(url).text
    main_app = parse_content(source)
    print(main_app)

    for linked_app in get_linked_app_links(source):
        print(linked_app)


def get_linked_app_links(source):
    soup = BeautifulSoup(source, &quot;html.parser&quot;)
    for title in soup.select(&quot;a.name&quot;):
        linked_app = get_app_data(title.get(&quot;href&quot;))
        yield linked_app


def get_app_data(url):
    source = session.get(url).text
    return parse_content(source)


def parse_content(source):
    broth = BeautifulSoup(source, &quot;html.parser&quot;)
    item = {
        &quot;app_name&quot;: broth.select(&quot;h1[itemprop=name]&quot;)[0].text,
        &quot;developer&quot;: broth.select(&quot;div.left h2&quot;)[0].text,
        &quot;price&quot;: broth.select(&quot;div.price&quot;)[0].text
    }
    return item