It seems there was a change in the code of writing.
I now got several times "list index out of range" for normal downloads, but after I have downloaded the newest Version and changed the Story it worked.
However, for "get_search" it does not work at all.
Traceback (most recent call last):
File "D:\Firefox Downloads\writing.com-archival-master\run.py", line 40, in
args.func(args)
File "D:\Firefox Downloads\writing.com-archival-master\run.py", line 12, in get_search
archive_search(url)
File "D:\Firefox Downloads\writing.com-archival-master\archiver.py", line 109, in archive_search
ids = list(get_search_ids(search_url))
File "D:\Firefox Downloads\writing.com-archival-master\scraper.py", line 227, in get_search_ids
ids = get_search_page_interactive_ids(get_page(u))
File "D:\Firefox Downloads\writing.com-archival-master\scraper.py", line 219, in get_search_page_interactive_ids
items.append(re.findall(r"interact/item_id/(.+?)'" , list(l.getchildren())[0].attrib['oncontextmenu'])[0])
IndexError: list index out of range`
It seems there was a change in the code of writing.
I now got several times "list index out of range" for normal downloads, but after I have downloaded the newest Version and changed the Story it worked. However, for "get_search" it does not work at all.
Used: "run.py get_search "https://www.writing.com/main/search.php?action=change_page&search_for=futa&ps_type=any&ps=1&sort_by=item_number_views+DESC&search_for_last=futa&search_for=futa&sort_by_last=item_number_views+DESC&how_many_last=25&page=1&resort_page=1""
`# Gathering item_ids of the search...
Gathering ids from page 1/6
Traceback (most recent call last): File "D:\Firefox Downloads\writing.com-archival-master\run.py", line 40, in
args.func(args)
File "D:\Firefox Downloads\writing.com-archival-master\run.py", line 12, in get_search
archive_search(url)
File "D:\Firefox Downloads\writing.com-archival-master\archiver.py", line 109, in archive_search
ids = list(get_search_ids(search_url))
File "D:\Firefox Downloads\writing.com-archival-master\scraper.py", line 227, in get_search_ids
ids = get_search_page_interactive_ids(get_page(u))
File "D:\Firefox Downloads\writing.com-archival-master\scraper.py", line 219, in get_search_page_interactive_ids
items.append(re.findall(r"interact/item_id/(.+?)'" , list(l.getchildren())[0].attrib['oncontextmenu'])[0])
IndexError: list index out of range`