Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52479
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <joel.goldstick@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.035 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'source.': 0.07; 'subject:Getting': 0.07; 'lookup': 0.09; 'subject:()': 0.09; 'cc:addr:python-list': 0.11; 'sense,': 0.16; 'urllib': 0.16; 'variable.': 0.16; 'wrote:': 0.18; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'cc:2**0': 0.24; "i've": 0.25; 'source': 0.25; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; '13,': 0.31; 'didnt': 0.31; 'subject:that': 0.31; 'url:python': 0.33; 'problem.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'done': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'area': 0.37; 'fact': 0.38; 'pm,': 0.38; 'explain': 0.39; 'aside': 0.39; 'url:mail': 0.40; 'how': 0.40; 'august': 0.61; 'here:': 0.62; 'kind': 0.63; 'to:addr:gmail.com': 0.65; 'dont': 0.67; 'joel': 0.91; '2013': 0.98 |
| 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:to :cc:content-type; bh=kJ0CEHx5gXVWXITnrSkCF0vI48wS3yn7VBej/G3sNOc=; b=cPWj3qyzugDb8EknktRVS3t3miv0TatsdMQ9EACb1vRC02ytR/HdMoF4t3jNCY7rTR JhPSNR4sw3pQRk/eGzn+0pjGbM80GeNmaxDOAfOFWQdmxTS+SimR3rahdnG7VMY4YgFk CqOtE0UObB7kbreg3bXRCAp2NA/GJOV2zJzJz8nDfP6ijeLrkv5QgqWVDAuZUbdENXt9 ygpWxQUfCAEHpVm6fInzWvRrTbArusKpwPAZLTAbcA6M20/eufoskG2DE9aRkBJEsRtN DLesyEkA6+6VX+OxgZGQoOwKRYCssSOKUdJ7g1oaJE2451lmsRRTzbBcleJLVCALCGww cMYA== |
| MIME-Version | 1.0 |
| X-Received | by 10.58.196.132 with SMTP id im4mr6313225vec.28.1376435923158; Tue, 13 Aug 2013 16:18:43 -0700 (PDT) |
| In-Reply-To | <5b73c6fe-a282-4d28-ab29-2e1dfdd09290@googlegroups.com> |
| References | <40816fed-38d4-4baa-92cc-c80cd8febd82@googlegroups.com> <mailman.548.1376434691.1251.python-list@python.org> <5b73c6fe-a282-4d28-ab29-2e1dfdd09290@googlegroups.com> |
| Date | Tue, 13 Aug 2013 19:18:43 -0400 |
| Subject | Re: Getting a value that follows string.find() |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| To | englishkevin110@gmail.com |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | "python-list@python.org" <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.551.1376435925.1251.python-list@python.org> (permalink) |
| Lines | 54 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1376435925 news.xs4all.nl 15983 [2001:888:2000:d::a6]:59876 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:52479 |
Show key headers only | View raw
On Tue, Aug 13, 2013 at 7:03 PM, <englishkevin110@gmail.com> wrote: > On Tuesday, August 13, 2013 5:58:07 PM UTC-5, Joel Goldstick wrote: >> lookup urlparse for you answer >> >> >> >> On Tue, Aug 13, 2013 at 6:51 PM, <> wrote: >> >> > I know the title doesn't make much sense, but I didnt know how to explain my problem. >> >> > >> >> > Anywho, I've opened a page's source in URLLIB >> >> > starturlsource = starturlopen.read() >> >> > string.find(starturlsource, '<a href="/profile.php?id=') >> >> > And I used string.find to find a specific area in the page's source. >> >> > I want to store what comes after ?id= in a variable. >> >> > Can someone help me with this? >> >> > -- >> >> > http://mail.python.org/mailman/listinfo/python-list >> >> >> >> >> >> >> >> -- >> >> Joel Goldstick >> >> http://joelgoldstick.com > > I dont want to do any kind of HTML parsing. Aside from the fact that I really want a pony, and you seem to want your work done for you, look here: http://stackoverflow.com/questions/11600681/parse-query-part-from-url > -- > http://mail.python.org/mailman/listinfo/python-list -- Joel Goldstick http://joelgoldstick.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Getting a value that follows string.find() englishkevin110@gmail.com - 2013-08-13 15:51 -0700
Re: Getting a value that follows string.find() Joel Goldstick <joel.goldstick@gmail.com> - 2013-08-13 18:58 -0400
Re: Getting a value that follows string.find() englishkevin110@gmail.com - 2013-08-13 16:03 -0700
Re: Getting a value that follows string.find() Joel Goldstick <joel.goldstick@gmail.com> - 2013-08-13 19:18 -0400
Re: Getting a value that follows string.find() Joel Goldstick <joel.goldstick@gmail.com> - 2013-08-13 19:40 -0400
Re: Getting a value that follows string.find() Steven D'Aprano <steve@pearwood.info> - 2013-08-14 06:29 +0000
Re: Getting a value that follows string.find() Dave Angel <davea@davea.name> - 2013-08-14 01:31 +0000
Re: Getting a value that follows string.find() John Gordon <gordon@panix.com> - 2013-08-14 15:58 +0000
csiph-web