|
21 | 21 | label: How to reproduce
|
22 | 22 | description: |
|
23 | 23 | How to reproduce the problem.
|
| 24 | + This should be a minimal reproducible example, i.e. the shortest possible code or the smallest number of steps that still causes the error. |
24 | 25 | placeholder: e.g. I can reproduce this issue by scraping the textfiles user with the twitter-user scraper.
|
25 | 26 | - type: textarea
|
26 | 27 | validations:
|
@@ -58,12 +59,28 @@ body:
|
58 | 59 | attributes:
|
59 | 60 | label: Scraper
|
60 | 61 | placeholder: e.g. twitter-user, reddit-search, TwitterSearchScraper, ...
|
| 62 | + - type: dropdown |
| 63 | + validations: |
| 64 | + required: true |
| 65 | + attributes: |
| 66 | + label: How are you using snscrape? |
| 67 | + options: ['CLI (`snscrape ...` as a command, e.g. in a terminal)', 'Module (`import snscrape.modules.something` in Python code)'] |
61 | 68 | - type: textarea
|
62 | 69 | validations:
|
63 | 70 | required: false
|
64 | 71 | attributes:
|
65 | 72 | label: Backtrace
|
66 | 73 | description: What is the error snscrape gives you, if any?
|
| 74 | + - type: textarea |
| 75 | + validations: |
| 76 | + required: false |
| 77 | + attributes: |
| 78 | + label: Log output |
| 79 | + description: | |
| 80 | + Insert here the debug log of snscrape. |
| 81 | + If you use the CLI, add the global options `-vv` to the command, e.g. `snscrape -vv twitter-search ...`. |
| 82 | + If you use the module, set the debug level in your Python code before any use of snscrape: `import logging; logging.basicConfig(level = logging.DEBUG)`. |
| 83 | + If you already use `logging` in your own code, you may need to adjust the level there instead. |
67 | 84 | - type: textarea
|
68 | 85 | validations:
|
69 | 86 | required: false
|
|
74 | 91 | Please note that it may contain identifying info such as IP address, if the website returns that.
|
75 | 92 | You can also optionally request to exchange the file in private.
|
76 | 93 | Finally, if snscrape didn't crash, leave this field blank.
|
77 |
| - - type: dropdown |
78 |
| - validations: |
79 |
| - required: true |
80 |
| - attributes: |
81 |
| - label: How are you using snscrape? |
82 |
| - options: ['CLI (`snscrape ...` as a command, e.g. in a terminal)', 'Module (`import snscrape.modules.something` in Python code)'] |
83 | 94 | - type: textarea
|
84 | 95 | attributes:
|
85 | 96 | label: Additional context
|
|
0 commit comments