![]() |
#3676 | |||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Multi-reply!
Quote:
It's not practical for FFF to fetch the tag page for every tag for every story looking for canonical tags when a story can have dozens of tags. I'm not interesting in implementing a cache to make it practicable. I would (probably) accept code contribution for it if someone else wants to implement it. If AO3 ever offers an option to fetch story metadata with canonical tags that doesn't involve a page fetch per tag, then I'll be happy to look at it. Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#3677 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2019-08-23 - Add URL prefix for XF2 authorUrl if relative. Circa Aug 23, 2019 SV changed the author URL FFF collects to a relative link and I didn't notice it until now. The easiest way I found to identify stories with an incomplete author URL is if you have a Saved Metadata column and search for "<li>/members/". |
![]() |
![]() |
Advert | |
|
![]() |
#3678 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50
Karma: 2652
Join Date: Jan 2014
Device: Samsung Galaxy J2
|
|
![]() |
![]() |
![]() |
#3679 | |
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Jul 2015
Location: Curitiba - Brazil
Device: Kindle Paperwhite 3,
|
Quote:
Can you share a bit more of how do you do this? |
|
![]() |
![]() |
![]() |
#3680 |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Current workflow is:
#freeform -> #tmptags (run scrub against this custom column) -> #{relationships|characters|tropes} I just use batch metadata edit (regex mode) to copy custom columns to another custom column. Search: (.*) Replace: /1 I have a LibreCalc spreadsheet where I manually assign canonical tags to the freeform tags (sometimes, I use my own version instead of AO3's canonical forms). I export to CSV format per Job Spy instructions and import to Job Spy. https://www.mobileread.com/forums/sh...d.php?t=269911 A sample AO3 tag rules table be found here. https://www.mobileread.com/forums/sh...&postcount=376 |
![]() |
![]() |
Advert | |
|
![]() |
#3681 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Aug 2019
Device: Smartphone, Kindle Paperwhite (2018)
|
Got a problem downloading NSFW/login-walled threads on QQ. Log here:
Code:
[ursatempest@ursalaptop Repositories]$ fanficfare -d -c personal.ini "https://forum.questionablequesting.com/threads/unnamed-original.10165/"FFF: DEBUG: 2019-08-27 10:54:10,445: cli.py(184): OS Version:Linux-5.2.9-arch1-1-ARCH-x86_64-with-arch-Arch-Linux FFF: DEBUG: 2019-08-27 10:54:10,445: cli.py(185): Python Version:3.7.4 (default, Jul 16 2019, 07:12:58) [GCC 9.1.0] FFF: DEBUG: 2019-08-27 10:54:10,445: cli.py(186): FFF Version:3.10.5 FFF: INFO: 2019-08-27 10:54:10,504: base_xenforoforum_adapter.py(385): url: https://forum.questionablequesting.com/threads/unnamed-original.10165/ FFF: DEBUG: 2019-08-27 10:54:10,505: configurable.py(1116): ##################################### pagecache(GET) MISS: https://forum.questionablequesting.com/threads/unnamed-original.10165/ FFF: DEBUG: 2019-08-27 10:54:18,712: configurable.py(1194): Caught an exception reading URL: https://forum.questionablequesting.com/threads/unnamed-original.10165/ Exception HTTP Error 403: Forbidden. FFF: DEBUG: 2019-08-27 10:54:18,712: configurable.py(1201): Giving up on https://forum.questionablequesting.com/threads/unnamed-original.10165/ FFF: DEBUG: 2019-08-27 10:54:18,712: configurable.py(1202): HTTP Error 403: Forbidden NoneType: None FFF: DEBUG: 2019-08-27 10:54:18,715: base_xenforoforum_adapter.py(209): Will now login to URL (https://forum.questionablequesting.com/login/login) as (ursatempest) FFF: DEBUG: 2019-08-27 10:54:18,716: configurable.py(1116): ##################################### pagecache(GET) MISS: https://forum.questionablequesting.com/login/login?_xfToken=&cookie_check=1&login=XXXXXXXX&password=XXXXXXXX&redirect=https://forum.questionablequesting.com/®ister=0 FFF: DEBUG: 2019-08-27 10:54:26,855: configurable.py(989): Encoding:utf8 FFF: DEBUG: 2019-08-27 10:54:26,858: configurable.py(1116): ##################################### pagecache(GET) MISS: https://forum.questionablequesting.com/threads/unnamed-original.10165/ FFF: DEBUG: 2019-08-27 10:54:42,241: configurable.py(989): Encoding:utf8 FFF: INFO: 2019-08-27 10:54:42,244: base_xenforoforum_adapter.py(397): use useurl: https://forum.questionablequesting.com/threads/unnamed-original.10165/ FFF: DEBUG: 2019-08-27 10:54:44,126: configurable.py(1116): ##################################### pagecache(GET) MISS: https://forum.questionablequesting.com/threads/unnamed-original.10165/threadmarks?category_id=1 FFF: DEBUG: 2019-08-27 10:54:50,524: configurable.py(989): Encoding:utf8 FFF: DEBUG: 2019-08-27 10:54:50,807: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 5, 2019 at 15:41">Aug 5, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 05, 2019 at 15:41' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,809: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 6, 2019 at 13:51">Aug 6, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 06, 2019 at 13:51' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,810: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 7, 2019 at 03:46">Aug 7, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 07, 2019 at 03:46' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,811: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 7, 2019 at 15:57">Aug 7, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 07, 2019 at 15:57' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,811: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 8, 2019 at 18:19">Aug 8, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 08, 2019 at 18:19' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,812: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 9, 2019 at 16:30">Aug 9, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 09, 2019 at 16:30' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,813: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 11, 2019 at 13:26">Aug 11, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 11, 2019 at 13:26' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,814: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 11, 2019 at 19:53">Aug 11, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 11, 2019 at 19:53' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,815: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 12, 2019 at 17:23">Aug 12, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 12, 2019 at 17:23' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,815: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 13, 2019 at 17:57">Aug 13, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 13, 2019 at 17:57' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,816: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 14, 2019 at 16:08">Aug 14, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 14, 2019 at 16:08' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,817: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 15, 2019 at 17:56">Aug 15, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 15, 2019 at 17:56' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,817: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 16, 2019 at 20:17">Aug 16, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 16, 2019 at 20:17' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,818: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 17, 2019 at 19:50">Aug 17, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 17, 2019 at 19:50' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,819: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 18, 2019 at 16:45">Aug 18, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 18, 2019 at 16:45' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,820: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 19, 2019 at 13:46">Aug 19, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 19, 2019 at 13:46' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,820: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <span class="DateTime" title="Aug 20, 2019 at 14:43">Aug 20, 2019</span> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 20, 2019 at 14:43' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,821: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <abbr class="DateTime" data-datestring="Aug 21, 2019" data-diff="489024" data-time="1566385466" data-timestring="19:04">Aug 21, 2019 at 19:04</abbr> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 21, 2019 at 19:04' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,822: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <abbr class="DateTime" data-datestring="Aug 22, 2019" data-diff="439519" data-time="1566434971" data-timestring="08:49">Aug 22, 2019 at 08:49</abbr> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 22, 2019 at 08:49' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,823: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <abbr class="DateTime" data-datestring="Aug 23, 2019" data-diff="309039" data-time="1566565451" data-timestring="21:04">Aug 23, 2019 at 21:04</abbr> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 23, 2019 at 21:04' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,824: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <abbr class="DateTime" data-datestring="Aug 24, 2019" data-diff="224321" data-time="1566650169" data-timestring="20:36">Aug 24, 2019 at 20:36</abbr> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 24, 2019 at 20:36' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,825: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <abbr class="DateTime" data-datestring="Aug 25, 2019" data-diff="142643" data-time="1566731847" data-timestring="19:17">Aug 25, 2019 at 19:17</abbr> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 25, 2019 at 19:17' does not match format '%m %d, %Y at %I:%M ' FFF: DEBUG: 2019-08-27 10:54:50,825: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted"> <abbr class="DateTime" data-datestring="Aug 26, 2019" data-diff="57702" data-time="1566816788" data-timestring="18:53">Aug 26, 2019 at 18:53</abbr> </div>, going on without Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date return makeDate(datestr, self.dateformat) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate date = datetime.strptime(string, dateform) File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime (data_string, format)) ValueError: time data '08 26, 2019 at 18:53' does not match format '%m %d, %Y at %I:%M ' Traceback (most recent call last): File "/usr/bin/fanficfare", line 11, in <module> load_entry_point('FanFicFare==3.10.5', 'console_scripts', 'fanficfare')() File "/usr/lib/python3.7/site-packages/fanficfare/cli.py", line 290, in main passed_personalini) File "/usr/lib/python3.7/site-packages/fanficfare/cli.py", line 402, in do_download adapter.getStoryMetadataOnly() File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 288, in getStoryMetadataOnly self.doExtractChapterUrlsAndMetadata(get_cover=get_cover) File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 372, in doExtractChapterUrlsAndMetadata return self.extractChapterUrlsAndMetadata() File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 459, in extractChapterUrlsAndMetadata added = self.add_chapter(prepend+tm['title'],tm['url'],{'date':tm['date'].strftime(self.getConfig("datethreadmark_format",self.getConfig("dateCreated_format","%Y-%m-%d %H:%M:%S"))), AttributeError: 'NoneType' object has no attribute 'strftime' Have tested SFW thread, they can be scraped. |
![]() |
![]() |
![]() |
#3682 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Aug 2019
Device: Smartphone, Kindle Paperwhite (2018)
|
Sorry for double-post, but I don't know how to edit. Anyway, chatted with a friend, and...
[12:13:39] <Aurora_iz_kosmos> Oh. [12:13:42] <Aurora_iz_kosmos> %I is wrong [12:13:50] <Aurora_iz_kosmos> That's for 12hour clock. [12:13:56] <Aurora_iz_kosmos> Your QQ uses 24, as it proper. [12:13:59] <UrsaTempest> ... [12:14:03] <UrsaTempest> ... oh. [12:14:06] <Aurora_iz_kosmos> And the script didn't update for this change. [12:15:17] <Aurora_iz_kosmos> I think that QQ only started supporting that 2-ish months ago. |
![]() |
![]() |
![]() |
#3683 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
FFF generally only supports the default settings (that I see when developing it) when a site has settings that change the code enough to break parsing. |
|
![]() |
![]() |
![]() |
#3684 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26
Karma: 84276
Join Date: Aug 2011
Location: Tuscaloosa, AL
Device: Samsung Tablet
|
Pairing up multiple ships
Is there a way to easily pair up the people in 3+ person ships?
An example is at https://www.fanfiction.net/s/1076659...ee-to-Backstep where it's Daphne G., Harry P., and Hermione G. I would like it to make the ships Daphne G./Harry P., Daphne G./Hermione G., Harry P./Hermione G. (The main reason I'd like this is because there are a lot of different ordering these people use, which makes the different ways to find them difficult to keep up with.) Thanks! |
![]() |
![]() |
![]() |
#3685 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Code:
add_to_replace_metadata: ships=>^([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\2/\3\,\1/\3 |
|
![]() |
![]() |
![]() |
#3686 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26
Karma: 84276
Join Date: Aug 2011
Location: Tuscaloosa, AL
Device: Samsung Tablet
|
Pairing up multiple ships: More than 2 people in ship
Quote:
Spoiler:
I have put in the sort_ships:true above the add_to_replace_metadata, so that all ships will be alphabetical. Then I added the following code, expanding it to 20 person ships (not that I think I'd get that far, but I'd rather try too many people than too few). After reading the replace_metadata page, it looks like the metadata is replaced going down the script. If so, then if there's 20 people, it will pair up the first person with each of the 19 others, before pairing up the 19 others between themselves. Then it will go to the 19 split where it will pair up the 1st person with the 18 others, pair up the 18 others, etc. At the end of the script, it will put Ronald W. in front of any pairing he is in unless he is in a pairing with Harry P., who will be first in all of his pairings. I do think it'll work, but would like your opinion on it. (I did think about using the "split ships into characters" and doing something with that, but I didn't want to combine two ships with each other.) Thanks for your help! I love your plugin! ![]() |
|
![]() |
![]() |
![]() |
#3687 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26
Karma: 84276
Join Date: Aug 2011
Location: Tuscaloosa, AL
Device: Samsung Tablet
|
re: Pairing up multiple ships: More than 2 people in ship
(I tried it (after fixing the typo on the 17-person ship line) and it works perfectly. Thanks for pointing me in the right direction!)
![]() |
![]() |
![]() |
![]() |
#3688 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2019
Device: pc
|
Quote:
Also, if you know of another plug-in or better place for this suggestion, please let me know. I understand this idea wouldn't necessarily be helpful ONLY for fanfic libraries and that it might be beyond the scope of your plugin. Thank you for your previous response and for reading this, as well as all your work on this awesome plugin! |
|
![]() |
![]() |
![]() |
#3689 | |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
tags:word FanFicFare also has a replace metadata option so you can add a standard tag that can be used for user categories. Last edited by ilovejedd; 08-30-2019 at 12:04 PM. |
|
![]() |
![]() |
![]() |
#3690 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
This isn't really anything I consider a FFF issue. I suggest you peruse the Library Management sub-forum and other plugins. |
|
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
[GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |