10/17/2023 0 Comments For ios instal SkyfallOur conclusion would be to use regular expressions to extract the href attributes that we need. We hypothesize that the desired elements are impossible to parse by Selenium and BeautifulSoup for whatever reason? Could the iframe tags in the DOM be a source of error (see this SO question)? What makes the parsing fail here, and is there a way to get around this problem? A website-related problem source would also explain why the SelectorGadget was unable to get a path in the first place. Chrome could extract a path, but neither Selenium nor BeautifulSoup can work with those paths.Īfter many failed attempts to extract the elements using different classes and tags, we believe something is entirely wrong with either our approach or the website. We proceeded to use a CSS path using Google Chrome (ctrl+shift+c). Unfortunately, we've noticed that the browser plugin SelectorGadget had trouble providing us with a CSS path. We usually use CSS paths and pass those to Selenium's find_elements_by_css method. We are trying to parse href attributes from the DOM of a job website.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |