Python Forum
Read and find elements which contains text
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read and find elements which contains text
#1
Hello

I am new to this forum, i am currently working on a simple bot, which should be able to find an element which contain some information (text) on one webpage, then it should go to another, where it should look for that information(text). How do you guys suggest me to do so, i am currently pretty new at Python?

Thank you,
craver35
Reply
#2
There is a good web scraping tutorial here, well worth a look:

Part1: https://python-forum.io/Thread-Web-Scrap...t=scraping
part2: https://python-forum.io/Thread-Web-scrap...t=scraping
Reply
#3
Thank you very much, i tried to follow that tutorial :-) But i feel like the difficult part is to match the exact same information(text) on another site. What i need is for example, go to this page https://www.zalando.dk/soulland-kelley-t...5-a12.html grab the information where it says "Soulland KELLEY - T-shirts print" and find that exact name on asos.com for example :-)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Read text file, modify it then write back Pavel_47 5 1,501 Feb-18-2023, 02:49 PM
Last Post: deanhystad
  Pypdf2 will not find text standenman 2 878 Feb-03-2023, 10:52 PM
Last Post: standenman
  read a text file, find all integers, append to list oldtrafford 12 3,371 Aug-11-2022, 08:23 AM
Last Post: Pedroski55
  find some word in text list file and a bit change to them RolanRoll 3 1,482 Jun-27-2022, 01:36 AM
Last Post: RolanRoll
  ValueError: Length mismatch: Expected axis has 8 elements, new values have 1 elements ilknurg 1 5,013 May-17-2022, 11:38 AM
Last Post: Larz60+
  Find and delete above a certain line in text file cubangt 12 3,353 Mar-18-2022, 07:49 PM
Last Post: snippsat
  How to find tags using specific text (timestamps) in a url? q988988 1 1,333 Mar-08-2022, 08:09 AM
Last Post: buran
  Not able to read the text using pexpect/expect Bipinjohnson 7 3,940 Jan-10-2022, 11:21 AM
Last Post: Bipinjohnson
  labels.append(self.classes.index(member.find('name').text)) hobbyist 1 1,873 Dec-15-2021, 01:53 PM
Last Post: deanhystad
  [SOLVED] Read text file from some point till EOF? Winfried 1 1,911 Oct-10-2021, 10:29 PM
Last Post: Winfried

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020