Casual chatting thread

Power Uploader
Joined
Aug 13, 2024
Messages
607
I have post to make soon.


7b7c9c081c95ce7c3fc4153bd3652b0c1746477785.png
Out of pure interest, how do you scrape?

No evil intentions. Promise
 
Joined
Nov 24, 2024
Messages
723
Out of pure interest, how do you scrape?

No evil intentions. Promise
Load cookies and then D.O.M. ,
Python:
def scrape_profile(user: str, driver: webdriver.Chrome) -> Tuple[List[str],List[str]]:
    base = f"https://forums.mangadex.org/members/{user}"
    logging.info(f"→ Followers for {user}")
    foll = scrape_list_page(base+"/followers/", driver)
    logging.info(f"→ Following for {user}")
    wing = scrape_list_page(base+"/following/", driver)
    logging.info(f"  got {len(foll)} followers, {len(wing)} following")
    return foll, wing
get specific " li " & " ol " elements from the Web-page , repeat a.i./.
 
Dex-chan lover
Joined
Apr 18, 2025
Messages
153
oh yeah last night i remembered why i stopped drinking caffeine after 9 PM after having some (and not for the "normal" reason of "it keeps you up all night" bc i'm already a night owl)
 

Users who are viewing this thread

Top