alex_bn_lee

导航

上一页 1 2 3 4 5 6 7 8 9 10 ··· 247 下一页

2025年3月5日 #

[1116] Python Regular Expression (re)

摘要: ref: Python RegEx - geeksforgeeks A Regular Expression or RegEx is a special sequence of characters that uses a search pattern to find a string or set 阅读全文

posted @ 2025-03-05 07:08 McDelfino 阅读(71) 评论(0) 推荐(0)

2025年2月27日 #

[1115] Python re library examples

摘要: Ref: Python RegEx To find a pattern like "Page " followed by a number in a string, you can use the `re` (regular expressions) module in Python. Here's 阅读全文

posted @ 2025-02-27 08:29 McDelfino 阅读(31) 评论(0) 推荐(0)

2025年2月25日 #

[1114] Extract the Dataframe from a table on the webpage

摘要: Here is the screenshot of the webpage. Here are the copied texts. Legislation and compliance News and media NSW Environment Protection Authority (EPA) 阅读全文

posted @ 2025-02-25 12:28 McDelfino 阅读(9) 评论(0) 推荐(0)

[1113] Extract the list of items from a dropdown menu on a HTML text

摘要: Following the scripts from the previous blog, here is another example: from bs4 import BeautifulSoup html = """<select name="dbcboNarrowSearchNoticeTy 阅读全文

posted @ 2025-02-25 12:01 McDelfino 阅读(13) 评论(0) 推荐(0)

2025年2月24日 #

[1112] Extract the list of items from a dropdown menu on a webpage

摘要: To extract the list of items from a dropdown menu on a webpage, you can use web scraping tools like BeautifulSoup and Selenium in Python. Here's a ste 阅读全文

posted @ 2025-02-24 13:41 McDelfino 阅读(25) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 247 下一页