MtDu added a comment.

Hello! 
I'm kind of confused on the general bug. Here are my questions:

1. Where does the user-agent need to actually be added? I looked around 
pywikibot, and found this. https://dpaste.de/aq6u Is this similar to what I 
need to do here? (I know there needs to be some logic) A general explanation of 
this would be appreciated. (What function uses it, why, and where the 
user-agent needs to be used)
2. So I would default a variable to be a blank string. How do I check if 
certain packages are installed in python? In this case, fake-useragent or 
browseragent.

Thank you for your time and help!
MtDu


TASK DETAIL
  https://phabricator.wikimedia.org/T113596

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: MtDu
Cc: MtDu, Nemo_bis, 8ohit.dua, jayvdb, Aklapper, pywikibot-bugs-list, Rubin16, 
Jay8g



_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to