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 links
Then next page cursor is searched and the function is called again with the next page url
each page returns 24 links, then 24*nextpage links will be returned
so if nexpage is 2 then 48 links are returned

Deprecated 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 methods

Generates and opens a html file for the given jsonfile
A html page is generated and opened.
Note: A defualt brower must be set by windows