#warrior 2018-08-07,Tue

↑back Search

Time Nickname Message
00:01 🔗 JAA (For the record, we discussed that previously in #archivebot.)
00:03 🔗 JAA adinbied: I'd define a list of keys at the top of pipeline.py, then in WgetDownload add a random one (random.choice function) to the wget-lua call however it is appropriate (--header, append to URL, or whatever). This can be done both such that it's different for each URL or that it's constant within an item.
00:04 🔗 adinbied OK, thanks so much!
00:04 🔗 JAA Or maybe the key should even be constant on a particular machine? Not sure honestly.
00:04 🔗 JAA In any case, take this with a grain of salt as I've never written warrior scripts before. :-)
01:05 🔗 adinbied I'm at a bit of a loss here, I can't figure out how to get the random value to change for each request
01:06 🔗 adinbied If I add the random selection to the end of the ItemInterpolation part of WGET Lua, then the random part stays the same
01:34 🔗 adinbied Any ideas? I'm completely stumped
02:21 🔗 adinbied has quit IRC (Quit: Leaving)
03:05 🔗 vectr0n has quit IRC (Quit: ZNC - https://znc.in)
03:06 🔗 Atom-- has joined #warrior
03:06 🔗 vectr0n has joined #warrior
03:09 🔗 Atom__ has quit IRC (Read error: Operation timed out)
03:21 🔗 warmwaffl has quit IRC (Remote host closed the connection)
06:18 🔗 BnAboyZ has quit IRC (hub.efnet.us irc.efnet.nl)
06:18 🔗 bsmith093 has quit IRC (hub.efnet.us irc.efnet.nl)
06:18 🔗 MrRadar2 has quit IRC (hub.efnet.us irc.efnet.nl)
06:18 🔗 BnARobin has quit IRC (hub.efnet.us irc.efnet.nl)
06:21 🔗 BnAboyZ has joined #warrior
06:21 🔗 bsmith093 has joined #warrior
06:21 🔗 BnARobin has joined #warrior
06:21 🔗 MrRadar2 has joined #warrior
12:47 🔗 MrRadar has quit IRC (Read error: Operation timed out)
12:53 🔗 MrRadar has joined #warrior
14:49 🔗 warmwaffl has joined #warrior
16:39 🔗 midas1 has quit IRC (Read error: Operation timed out)
16:40 🔗 midas1 has joined #warrior
17:38 🔗 vectr0n when using the docker image, is disk space advised to follow the provided warrior at 60gb?
18:17 🔗 warmwaffl has quit IRC (Quit: Leaving)
19:44 🔗 BnAboyZ has quit IRC (hub.efnet.us irc.efnet.nl)
19:44 🔗 bsmith093 has quit IRC (hub.efnet.us irc.efnet.nl)
19:44 🔗 MrRadar2 has quit IRC (hub.efnet.us irc.efnet.nl)
19:44 🔗 BnARobin has quit IRC (hub.efnet.us irc.efnet.nl)
19:47 🔗 BnAboyZ has joined #warrior
19:47 🔗 bsmith093 has joined #warrior
19:47 🔗 BnARobin has joined #warrior
19:47 🔗 MrRadar2 has joined #warrior
23:05 🔗 zhongfu has quit IRC (Remote host closed the connection)
23:06 🔗 zhongfu has joined #warrior
23:50 🔗 adinbied has joined #warrior
23:52 🔗 adinbied Hi all! I still haven't managed to sort out my issue with ItemInterpolation keeping a constant 'random' value in my pipeline.py script - here's what I've got so far: https://github.com/adinbied/quizlet-grabv2/blob/master/pipeline.py
23:55 🔗 adinbied Specifically line 220, which picks a random client ID from the list but then uses the same value for all future requests

irclogger-viewer