Re: Fan fic downloader and an interesting idea.
It should be easy in python. It goes something like this:
(note, I have next-to-none knowledge of python, so the developers feel free to correct me)
<<<start python>>>
# imports
import re
import requests
from bs4 import beautiful_soup
# getting the data
url = "" enter a url:")
# todo: implementing author name only downloading, should be easy
unprocessed_data = requests.get(url)
data = "" />l=[]
soup = beautiful_soup(data)
# now to do the url getting:
for tag in soup.find_all('a'):
for x in tag.get('href'):
# todo: learn re enough to seperate out the string which have /s/ in them, something like j = re.search(x, */s/*). * symbolizes every character
l.append(j)
for x in l:
# todo: find a way to scrape stories, or find an
application which exposes it's API to do it
<<<end python>>>
if anyone could help me out with this, that'd be great
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector