libs.oldlibs module#
- libs.oldlibs.deviant_scrapper_pages(self, baseurl: str, nextpage: int = 2) list [source]#
- Parameters:
baseurl (str) – Deviant art page url
nextpage (int) – Number of pages to visit
- Returns:
list of all the art page links
- Return type:
list
Accepts a deviant url and searches for the sub deviant art linksThen next page cursor is searched and the function is called again with the next page urleach page returns 24 links, then 24*nextpage links will be returnedso if nexpage is 2 then 48 links are returnedDeprecated since version 0.0.1:
Use :func:`deviantartapi.selenium_scrapper` instead outdated since Deviantart changed their website and introduced login system
- libs.oldlibs.htmlgen(jsonfile) None [source]#
- Parameters:
jsonfile (str) – json file name(path)
- Returns:
None
Deprecated since version 0.0.1:
Only kept as a reference as pandas will use different methodsGenerates and opens a html file for the given jsonfileA html page is generated and opened.Note: A defualt brower must be set by windows