Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Screen scraper to get all 'a title' elements Date: Thu, 26 Nov 2015 10:42:34 +1100 Lines: 11 Message-ID: References: <23ed6f4b-0ef2-4c9e-ade6-e597e7e03ca2@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de n24KWDqzGuPngR3f+JI4Rw+mBrLkKpP0PVQ+yZPcgGcw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:209.85.223': 0.03; "subject:' ": 0.07; 'cc:addr:python-list': 0.09; 'thu,': 0.15; 'expressions.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'parsing': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'regular': 0.29; 'subject:all': 0.32; 'received:google.com': 0.35; 'nov': 0.35; 'received:209.85': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'received:209': 0.38; 'link:': 0.69; '26,': 0.72; 'subject:get': 0.81; 'chrisa': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=yId+TjC2sunp/MkY2UnFpazPdiw0TsmVObCQP8v9lHg=; b=PRTro7w34dIK9HESvb+LiVX0R5u/FaCgwVO8HhAEvabC7oMAeUHHqVsgbuzq+f8aKi FR7nIo7kX/7gKlWpHuruRSKn7NW65s98S1bJ5zJicIiJtEHs3Pqf0AyVMm7Ys5bwYK2A zIYt7OQ3kl66pibJtD/OeSXwBSKU8kvSjWuSgGNCiZoNLAp3E6EJJdL3kM4FKGujxTAU TYrk2wxZfea+Cyq+yJGvncPH1//ykt3/9elrqqCOpYcJt9tPJWBPnVEeQ7+wkUYyqfgq NM8u5hNG8EkyrSs+aOJrvw7HAgEQbW2qfdSzElBDGI7B+pWkTB+knXZNdxpGbW8JOOO7 kDHw== X-Received: by 10.107.3.163 with SMTP id e35mr35027229ioi.157.1448494954329; Wed, 25 Nov 2015 15:42:34 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99507 On Thu, Nov 26, 2015 at 10:37 AM, ryguy7272 wrote: > Wow! Awesome! I bookmarked that link! > Thanks for everything!!! Also bookmark this link: http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags And read it before you do any parsing of HTML using regular expressions. ChrisA